| @@ 29-35 (lines=7) @@ | ||
| 26 | ||
| 27 | class Status205 extends AbstractPreprocessor { |
|
| 28 | ||
| 29 | public function consolidate() { |
|
| 30 | ||
| 31 | foreach (array('Allow', 'Content-Encoding', 'Content-Language', 'Content-Length', 'Content-MD5', 'Content-Type', 'Last-Modified') as $header) { |
|
| 32 | $this->response()->headers()->delete($header); |
|
| 33 | } |
|
| 34 | ||
| 35 | } |
|
| 36 | ||
| 37 | } |
|
| 38 | ||
| @@ 29-37 (lines=9) @@ | ||
| 26 | ||
| 27 | class Status304 extends Status100 { |
|
| 28 | ||
| 29 | public function consolidate() { |
|
| 30 | ||
| 31 | foreach (array('Allow', 'Content-Encoding', 'Content-Language', 'Content-Length', 'Content-MD5', 'Content-Type', 'Last-Modified') as $header) { |
|
| 32 | $this->response()->headers()->delete($header); |
|
| 33 | } |
|
| 34 | ||
| 35 | parent::consolidate(); |
|
| 36 | ||
| 37 | } |
|
| 38 | ||
| 39 | ||
| 40 | ||