Back to product page

Accept property


Holds list of content types that will be accepted.

Type

A String value

Syntax

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

Remarks

This property contains a semicolon-separated list of content types which will be accepted in the response to this request. The set given may vary from request to request from the same user - and depends purely on your choice.

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

Platforms

Windows