1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-30 17:19:54 +02:00

Builder checks encoding problems with bigger response

Fixes #347
This commit is contained in:
Steve Clay
2015-09-29 16:29:21 -04:00
parent 70c0d4b3bf
commit 5f2c54f636
2 changed files with 7 additions and 3 deletions

View File

@@ -24,8 +24,8 @@ if (isset($_GET['hello'])) {
HTTP_Encoder::$encodeToIe6 = true; // just in case
$he = new HTTP_Encoder(array(
'content' => 'World!'
,'method' => 'deflate'
'content' => str_repeat('0123456789', 500),
'method' => 'deflate',
));
$he->encode();
$he->sendAll();