We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 47c674e + aa89958 commit 5293b39Copy full SHA for 5293b39
lib/internal/Magento/Framework/HTTP/PhpEnvironment/Response.php
@@ -191,26 +191,4 @@ public function __sleep()
191
{
192
return ['content', 'isRedirect', 'statusCode'];
193
}
194
-
195
- /**
196
- * Sending provided headers.
197
- *
198
- * Had to be overridden because the original did not work correctly with multi-headers.
199
- */
200
- public function sendHeaders()
201
- {
202
- if ($this->headersSent()) {
203
- return $this;
204
- }
205
206
- $status = $this->renderStatusLine();
207
- header($status);
208
209
- /** @var \Zend\Http\Header\HeaderInterface $header */
210
- foreach ($this->getHeaders() as $header) {
211
- header($header->toString(), false);
212
213
214
215
216
0 commit comments