HttpVersion (HttpRequest property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Template:HTTPRequest:HTTPVersion subtitle}}
{{Template:HttpRequest:HTTPVersion subtitle}}


This settable method lets you select the HTTP Protocol version
This settable method lets you select the HTTP Protocol version
Line 5: Line 5:
If referenced, it returns the version currently in use by the object.
If referenced, it returns the version currently in use by the object.
==Syntax==
==Syntax==
{{Template:HTTPRequest:HTTPVersion syntax}}
{{Template:HttpRequest:HTTPVersion syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 19: Line 19:
</td></tr></table>
</td></tr></table>
==See also==
==See also==
{{Template:HTTPRequest:HTTPVersion footer}}
{{Template:HttpRequest:HTTPVersion footer}}

Revision as of 20:16, 16 June 2011

Template:HttpRequest:HTTPVersion subtitle

This settable method lets you select the HTTP Protocol version for HTTP requests. If referenced, it returns the version currently in use by the object.

Syntax

Template:HttpRequest:HTTPVersion syntax

Syntax terms

%httpreq An instantiated HTTPRequest object.
version Identifies the version of HTTP to use on subsequent HTTP requests. Valid values are 1.0 or 1.1. If not one of these values, the request is cancelled. If left unset, the default is 1.1.
%curr The string variable for the assignment of the current value of HTTPVersion.

See also

Template:HttpRequest:HTTPVersion footer