Web.HTTPApp.TWebRequest.ContentEncoding

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ContentEncoding: string index 14 read GetStringVariable;

C++

__property System::UnicodeString ContentEncoding = {read=GetStringVariable, index=14};

Properties

Type Visibility Source Unit Parent
property public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebRequest

Description

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

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.

See Also