|
@@ -26,7 +26,7 @@ |
|
|
block discarded – undo |
|
26
|
26
|
&& strpos($response->getContentType(), 'pdf') === false |
|
27
|
27
|
&& strpos($response->getContentType(), 'postscript') === false |
|
28
|
28
|
&& strpos($response->getContentType(), 'zip') === false |
|
29
|
|
- && strlen((string)$response->getBody()) >= $this->minFileSize |
|
|
29
|
+ && strlen((string) $response->getBody()) >= $this->minFileSize |
|
30
|
30
|
) { |
|
31
|
31
|
if (!$response->hasHeader('Content-Encoding') || $response->getHeader('Content-Encoding')[0] !== 'gzip') { |
|
32
|
32
|
throw new ValidationFailedException('gzip compression not active'); |
Please login to merge, or discard this patch.