HeaderNames (HttpResponse function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Template:HttpResponse:HeaderNames subtitle}}
{{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.


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==
{{Template:HttpResponse:HeaderNames syntax}}
{{Template:HttpResponse:HeaderNames syntax}}
Line 10: Line 7:
<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==
==See also==
{{Template:HttpResponse:HeaderNames footer}}
{{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