RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebRequest.ContentEncoding Property

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

Pascal
property ContentEncoding: AnsiString;
C++
__property AnsiString ContentEncoding;

Read ContentEncoding to determine what encoding mechanisms, if any, have been applied to the Content of the HTTP request. The encoding mechanisms are listed in the order in which the Web client applied them, separated by commas. Typically, ContentEncoding indicates a compression method or an encoding scheme used to transfer extended ASCII characters over the net. 

Reverse the ContentEncoding mechanisms to decode the Content into the form indicated by the ContentType property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!