Classes

Method HttpMessagePart() :addHeader() Foundation

Adds a HTTP header.

Syntax
 
METHOD :addHeader( <cName>, <cValue> ) --> self
Parameters
<nName>
A character string with the name of the header.
<cValue>
A character string with the value of the header.
Return

:addHeader() returns the object executing the method.

Description

The method :addHeader() adds a HTTP header. If a header of the same name already exists, the value will be appended to the existing header separated by a comma.

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.