Back to product page

AcceptEncoding property


Holds list of content-encoding types that will be accepted.

Type

A String value

Syntax

  • Basic
object.AcceptEncoding [= value]
The AcceptEncoding(object,value) syntax has these parts:
objectAn expression evaluating to an object of type HttpRequest.
valueA String value.

Remarks

AcceptEncoding property defines list of Content-Encoding types which are acceptable in the response.

This property is just a 'shortcut' to Request.Headers("Accept-Encoding") value.

Platforms

Windows