@@ -229,9 +229,9 @@ discard block |
||
| 229 | 229 | $this->headers->set($this->computeCacheControl(), true); |
| 230 | 230 | |
| 231 | 231 | return |
| 232 | - sprintf(sprintf('HTTP/%s %s %s', $this->version, $this->statusCode, $this->statusText)) . "\r\n" . |
|
| 233 | - $this->headers . "\r\n" . |
|
| 234 | - $this->cookies . "\r\n" . |
|
| 232 | + sprintf(sprintf('HTTP/%s %s %s', $this->version, $this->statusCode, $this->statusText))."\r\n". |
|
| 233 | + $this->headers."\r\n". |
|
| 234 | + $this->cookies."\r\n". |
|
| 235 | 235 | $content; |
| 236 | 236 | } |
| 237 | 237 | |
@@ -408,7 +408,7 @@ discard block |
||
| 408 | 408 | |
| 409 | 409 | foreach (explode("\r\n", $content) as $chunk) { |
| 410 | 410 | echo sprintf("%x\r\n", strlen($chunk)); |
| 411 | - echo $chunk . "\r\n"; |
|
| 411 | + echo $chunk."\r\n"; |
|
| 412 | 412 | flush(); |
| 413 | 413 | ob_flush(); |
| 414 | 414 | usleep($this->chunkDelayResponse); |