HeaderNames (HttpResponse function)

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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