Method HttpMessagePart() :getHeader() Foundation

Gets a HTTP header by its name.

Syntax
 
:getHeader( <cName> ) --> cValue
Parameters
<nName>
A character string with the name of the header.
Return

:getHeader() returns a character string with the value of the header. If more than one value is defined for the header, the string contains the comma-separated list of header values.

Description

The method :getHeader() gets the value of a HTTP header given its name.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.