RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebRequest.ContentType Property

Reports the value of the Content-Type header of the HTTP request message.

Pascal
property ContentType: string;
C++
__property AnsiString ContentType;

Read ContentType to determine the media type of the Content of the HTTP request message. The ContentType is a string of the form Type/SubType. 

Most HTTP requests do not require any Content at all. For most requests with a Method that requires a value for Content, the ContentType is text/html. However, HTTP requests for server-specific values of Method can use any media type appropriate to the request. 

 

Accept 

Content 

TWebRequest 

Properties That Describe the Content

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!