Zend\Http\Headers::addHeaderLine
Add a raw header line, either in name => value, or as a single string 'name: value'
This method allows for lazy-loading in that the parsing and instantiation of Header object will be delayed until they are retrieved by either get() or current()
Signature
public function addHeaderLine(string
$headerFieldNameOrLine,
[string
$fieldValue = null] )
Parameters
$headerFieldNameOrLine
— string$fieldValue
— string- optional
Returns
- Headers