AutoSendXmlContentType (HttpRequest property): Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{Template: | {{Template:HttpRequest:AutoSendXMLContentType subtitle}} | ||
This property sets and returns a <var>Boolean</var> enumeration | This property sets and returns a <var>Boolean</var> enumeration | ||
Line 6: | Line 6: | ||
content-type header generation is on or off. | content-type header generation is on or off. | ||
==Syntax== | ==Syntax== | ||
{{Template: | {{Template:HttpRequest:AutoSendXMLContentType syntax}} | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
Line 28: | Line 28: | ||
</ul> | </ul> | ||
==See also== | ==See also== | ||
{{Template: | {{Template:HttpRequest:AutoSendXMLContentType footer}} |
Revision as of 20:16, 16 June 2011
Template:HttpRequest:AutoSendXMLContentType subtitle
This property sets and returns a Boolean enumeration (True or False) that indicates whether AddXML automatic content-type header generation is on or off.
Syntax
Template:HttpRequest:AutoSendXMLContentType syntax
Syntax terms
%curr | The value (True or False) of %httpreq's AutoSendXMLContentType property. |
---|---|
%httpreq | A previously defined and instantiated HTTPRequest object. |
newvalue | The Boolean enumeration value (True or False) to assign to %httpreq's AutoSendXMLContentType property. |
Usage notes
- The HTTP Helper AddXML method generates a content type header of "text/xml" upon a Post, if you do not explicitly set a content-type HTTP request header via the AddHeader method. To suppress this automatic generation, you set AutoSendXMLContentType to False.
- For information about Enumerations, see "Enumerations".