$headers
$headers : array
Trait implementing functionality common to requests and responses.
$headers : array
$headerNames : array
$protocol : string
$stream : \Psr\Http\Message\StreamInterface|null
trimHeaderValues(string[] $values) : string[]
Trims whitespace from the header values.
Spaces and tabs ought to be excluded by parsers when extracting the field value from a header field.
header-field = field-name ":" OWS field-value OWS OWS = *( SP / HTAB )
string[] | $values | Header values |
Trimmed header values