HeaderNames (HttpResponse function)
<section begin=dpl_desc/><section end=dpl_desc/>
HeaderNames is a member of the 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 = %httpresp: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. |