HeaderNames (HttpResponse function)

From m204wiki
Jump to navigation Jump to search

List of HTTP response header names (HttpResponse class)


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

%sl = httpResponse:HeaderNames

Syntax terms

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

See also