:GetEncodingType()
Class
Syntax
:GetEncodingType() -> nURLEncodingType
Return Value
If the function succeeds, the return value is one of the following values:
|
Value |
Constant |
|
Description |
|
0 |
HTTP_CONTENT_ENCODING_NONE |
|
No encoding will be applied to the content of a request, and no Content-Type header will be generated. |
|
1 |
HTTP_CONTENT_ENCODING_URL |
|
URL encoding will be applied to the content of a request, and a Content-Type header will be generated with the value "application/x-www-form-urlencoded" |
|
2 |
HTTP_CONTENT_ENCODING_XML |
|
URL encoding will be applied to the content of a request, EXCEPT that spaces will not be replaced by '+'. This encoding type is intended for use with XML parsers that do not recognize '+' as a space. A Content-Type header will be generated with the value "application/x-www-form-urlencoded". |
Description
Get the Encoding Type set for the current Session
See Also