StatusLine (HttpResponse function)

From m204wiki
Revision as of 19:21, 17 June 2011 by 198.242.244.47 (talk) (Created page with " <span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span> StatusLine property <p> <var>StatusLine</var> is a member of...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<section begin=dpl_desc/><section end=dpl_desc/>

StatusLine is a member of the HttpResponse class.

This non-settable 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.