Soap.SOAPHTTPTrans.THTTPReqResp.UseUTF8InHeader
Delphi
property UseUTF8InHeader: Boolean read FUseUTF8InHeader write FUseUTF8InHeader
C++
__property bool UseUTF8InHeader = {read=FUseUTF8InHeader, write=FUseUTF8InHeader, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Soap.SOAPHTTPTrans.pas Soap.SOAPHTTPTrans.hpp |
Soap.SOAPHTTPTrans | THTTPReqResp |
Description
Specifies whether the Content-Type header should specify UTF-8 as a character set.
Set UseUTF8InHeader to indicate how THTTPReqResp should generate the Content-Type header of the HTTP request message it sends to the server. When UseUTF8InHeader is true, the Content-Type header indicates that the content of the request is encoded in XML using the UTF-8 character set. Otherwise, the Content-Type header simply indicates that the content is encoded in XML.