StatusLine (HttpResponse function): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 1: | Line 1: | ||
<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span> | <span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span> | ||
[[Category:HttpResponse methods|StatusLine property]] | [[Category:HttpResponse methods|StatusLine property]] | ||
Line 6: | Line 5: | ||
</p> | </p> | ||
This | This method lets you check the HTTP status line of the | ||
result of the most recent <var>[[Get ( | result of the most recent <var>[[Get (HttpRequest function)|Get]]</var>, <var>[[Post (HttpRequest function)|Post]]</var>, or <var>[[Send (HttpRequest function)|Send]]</var> operation. | ||
<var>StatusLine</var> returns the whole HTTP status line, which consists of | <var>StatusLine</var> returns the whole HTTP status line, which consists of | ||
a code, a blank, and a message (for example, "200 OK"). | a code, a blank, and a message (for example, "200 OK"). |
Revision as of 21:57, 17 June 2011
<section begin=dpl_desc/><section end=dpl_desc/>
StatusLine is a member of the 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
%statusline = %httpresp: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. |