HeaderNames (HttpResponse function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:HttpResponse:HeaderNames subtitle}}
The <var>HeaderNames</var> method helps you retrieve the HTTP response headers returned by an HTTP request.  <var>HeaderNames</var> returns a <var>[[Stringlist_class|Stringlist]]</var> object that lists the names of the HTTP response headers returned.


<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span>
[[Category:HttpResponse methods|HeaderNames property]]
<p>
<var>HeaderNames</var> is a member of the <var>[[HttpResponse class|HttpResponse]]</var> class.
</p>
This method helps you retrieve the HTTP
response headers returned by an HTTP request.
HeaderNames returns a Stringlist object that lists the names of the HTTP response
headers returned.
==Syntax==
==Syntax==
<p class="syntax">%sl = %httpresp:HeaderNames
{{Template:HttpResponse:HeaderNames syntax}}
</p>
 
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%sl</th>
<tr><th>%sl</th>
<td>A stringlist object variable for the assignment of the returned headers of ''%httpresp''.
<td>A <var>stringlist</var> object variable for the assignment of the returned headers of <var class="term">httpResponse</var>.</td></tr>
</td></tr>
<tr><th>httpResponse</th>
<tr><th>%httpresp</th>
<td>A reference to an <var>HttpResponse</var> object that was returned by a <var>[[Get_(HttpRequest_function)|Get]]</var>, <var>[[Post_(HttpRequest_function)|Post]]</var>, or <var>[[Send_(HttpRequest_function)|Send]]</var> method of an <var>[[HttpRequest_class|HttpRequest]]</var> object.</td></tr>
<td>A reference to an HTTPResponse object that was returned by a Get, Post, or Send method of an HTTPRequest object.
</table>


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

Latest revision as of 19:44, 20 June 2011

List of HTTP response header names (HttpResponse class)

The HeaderNames method helps you retrieve the HTTP response headers returned by an HTTP request. HeaderNames returns a Stringlist object that lists the names of the HTTP response headers returned.

Syntax

%sl = httpResponse:HeaderNames

Syntax terms

%sl A stringlist object variable for the assignment of the returned headers of httpResponse.
httpResponse A reference to an HttpResponse object that was returned by a Get, Post, or Send method of an HttpRequest object.

See also