clue · GitHub

Merged

Merged

Conversation

jsor

jsor approved these changes Feb 9, 2017

kelunik

* there's only a single value or an array of strings if this header has
* multiple values.
*
* Note that this differs from the PSR-7 implementation of this method.

WyriHaximus

* there's only a single value or an array of strings if this header has
* multiple values.
*
* Note that this differs from the PSR-7 implementation of this method.
foreach ($this->headers as $key => $value) {
if (strtolower($key) === $name) {
foreach((array)$value as $one) {
$found []= $one;

WyriHaximus

@clue clue mentioned this pull request

Feb 10, 2017

Closed

@clue

@clue

@clue

clue deleted the headers branch

February 10, 2017 12:06

This was referenced

Feb 10, 2017

Merged

Closed

Merged

Read the original on github.com ↗