Internet Direct (Indy)
Home
PreviousUpNext
TIdFormDataField.ContentType Property

MIME content type header for the form data field.

Pascal
property ContentType: string;

ContentType is a string property that represents the MIME content type for the contents of the form data field. ContentType is used when the multipart form data stream generates the formatted content for the stream including Boundary markers, content disposition, file names, and other header values. 

Changing the value in ContentType cause the form data field to calculate and update the value in FieldSize.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.