REST.Client.TRESTRequest.AcceptEncoding

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AcceptEncoding;

C++

__property AcceptEncoding;

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.

REST.Client.TRESTRequest.AcceptEncoding inherits from REST.Client.TCustomRESTRequest.AcceptEncoding. All content below this line refers to REST.Client.TCustomRESTRequest.AcceptEncoding.

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