API:REST.Client.TRESTRequest.AcceptEncoding

From RAD Studio API Documentation

Delphi

property AcceptEncoding: string read FAcceptEncoding write SetAcceptEncoding default 0;

C++

__property AcceptEncoding = {default=0};

Properties

Type Visibility Source Unit Parent
property published
REST.Client.pas
REST.Client.hpp
REST.Client TRESTRequest

Description

Accept-Encoding field of the request, which specifies the types of HTTP compression that are acceptable for the response. {{#multireplace:REST.Client.TRESTRequest.AcceptEncoding|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:REST.Client.TCustomRESTRequest.AcceptEncoding|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:REST.Client.TCustomRESTRequest.AcceptEncoding|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Accept-Encoding field of the request, which specifies the types of HTTP compression that are acceptable for the response.

The default value is an empty string, which means that no compression is used. The specification explains the syntax that you can use for the value of this field. See this list of compression codes that you can specify in your request.

See Also