Accept Property
A list of acceptable MIME types for the request.
Syntax
public var accept: String {
get {...}
set {...} }
Default Value
""
Remarks
If this property contains a non-empty string, an HTTP Accept header is added to the request.
The Accept header is used for content negotiation. It provides the server with a comma-separated list of MIME types that are acceptable for its response.