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.
1 parent 6470806 commit 19b9bfbCopy full SHA for 19b9bfb
lib/internal/Magento/Framework/HTTP/PhpEnvironment/Response.php
@@ -183,27 +183,4 @@ public function __sleep()
183
{
184
return ['content', 'isRedirect', 'statusCode'];
185
}
186
-
187
- /**
188
- * Sending provided headers.
189
- *
190
- * Had to be overridden because the original did not work correctly with multi-headers.
191
- */
192
- public function sendHeaders()
193
- {
194
- if ($this->headersSent()) {
195
- return $this;
196
- }
197
198
- $status = $this->renderStatusLine();
199
- header($status);
200
201
- /** @var \Zend\Http\Header\HeaderInterface $header */
202
- foreach ($this->getHeaders() as $header) {
203
- header($header->toString(), false);
204
205
206
- $this->headersSent = true;
207
208
209
0 commit comments