Obvious: emit each header once, not the last header N times.
This commit is contained in:
@@ -88,6 +88,7 @@ abstract class AphrontHTTPSink {
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($headers as $header) {
|
foreach ($headers as $header) {
|
||||||
|
list($name, $value) = $header;
|
||||||
$this->emitHeader($name, $value);
|
$this->emitHeader($name, $value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user