HttpVersion (HttpRequest property): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 15: | Line 15: | ||
</td></tr> | </td></tr> | ||
<tr><th>%curr</th> | <tr><th>%curr</th> | ||
<td>The string variable for the assignment of the current value of | <td>The string variable for the assignment of the current value of HttpVersion. | ||
</td></tr></table> | </td></tr></table> | ||
==See also== | ==See also== | ||
{{Template:HttpRequest:HttpVersion footer}} | {{Template:HttpRequest:HttpVersion footer}} |
Revision as of 20:37, 16 June 2011
Set HTTP protocol version for requests (HttpRequest class)
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
%currentString = httpRequest:HttpVersion httpRequest:HttpVersion = newString
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. |