Internet Direct (Indy)
Home
PreviousUpNext
TIdRequestHeaderInfo.AcceptEncoding Property

Indicates the content encodings accepted in a HTTP response.

Pascal
property AcceptEncoding: String;

AcceptEncoding is a String property that indicates the content encodings accepted in a resulting HTTP response. An AcceptEncoding value is composed of one or more content encoding scheme and an optional realtive quality factor for the encoding. 

AcceptEncoding permits the same values as permitted in ContentEncoding. The special "*" symbol in AcceptEncoding matches any available content encoding not explicitly listed in the header field.

  ARequestHeaderInfo.AcceptEncoding := '*';
  ARequestHeaderInfo.AcceptEncoding := 'compress; q=.5, gzip';
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.