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