Method HttpClient():setAcceptCharset() Foundation
Defines the accepted charset for responses from the server.
:setAcceptCharset( <cCharset> | <aCharsets> ) --> self
:setAcceptCharset() returns the object executing the method.
The method :setAcceptCharset() specifies to the server which character set(s) the client is able to unterstand when processing data sent by the server.
The charset(s) specified in the parameters to :setAcceptCharset()are stored in the "Accept-Charset" header element of the HTTP request 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.