HeaderNames (HttpResponse function)

From m204wiki
Jump to: navigation, search

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