Method HttpClient():setAcceptType() Foundation
Defines the accepted content type for responses from the server.
METHOD :setAcceptType( <cMIMEType> | <aMIMETypes> ) --> self
:setAcceptType() returns the object executing the method.
The method :setAcceptType() specifies to the server which content types are supported by the client for the data sent by the server.
The accepted content type specified to :setAcceptType()is stored in the "Accept" header element of the request message object assigned to the :httpRequestmember variable. This HTTP request object is used as the default for requests sent using the methods :send() and :sendAsync().
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.