psAcceptTypes - cBaseHTTPTransfer
Specifies the HTTP content types accepted by the client
Type: Property
Access: Read/Write
Data Type: String
Parameters: None
Syntax
Property String psAcceptTypes
| Access Type | Syntax |
|---|---|
| Read Access: | Get psAcceptTypes to StringVariable |
| Write Access: | Set psAcceptTypes to StringVariable/Value |
Description
psAcceptTypes specifies the HTTP content types accepted by the client. Several content types can be specified separated with a ',' (comma). For example, "text/html, text/plain", specifies plain text and html text, but no other formats. Wildcards may also be used, for example "text/*" specifies all text formats are accepted.
Default is "text/*" for cBaseHttpTransfer. The default is "application/json" for JsonHttpTransfer.