StatusLine (HttpResponse function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span>
{{Template:HttpResponse:StatusLine subtitle}}
[[Category:HttpResponse methods|StatusLine property]]
<p>
<var>StatusLine</var> is a member of the <var>[[HttpResponse class|HttpResponse]]</var> class.
</p>


This method lets you check the HTTP status line of the
This method lets you check the HTTP status line of the
Line 10: Line 6:
a code, a blank, and a message (for example, "200 OK").
a code, a blank, and a message (for example, "200 OK").
==Syntax==
==Syntax==
<p class="syntax">%statusline = %httpresp:StatusLine
{{Template:HttpResponse:StatusLine syntax}}
</p>
 
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 22: Line 16:


</td></tr></table>
</td></tr></table>
==See also==
{{Template:HttpResponse:StatusLine footer}}

Revision as of 21:57, 17 June 2011

Status line of most recent request (HttpResponse class)


This method lets you check the HTTP status line of the result of the most recent Get, Post, or Send operation. StatusLine returns the whole HTTP status line, which consists of a code, a blank, and a message (for example, "200 OK").

Syntax

%string = httpResponse:StatusLine

Syntax terms

%statusline A string or longstring variable for the assignment of the StatusLine value of %httpresp.
%httpresp A reference to an HTTPResponse object that was returned by a Get, Post, or Send method of an HTTPRequest object.

See also