mirror of
https://github.com/mrclay/minify.git
synced 2025-03-14 09:29:38 +01:00
Merge pull request #42 from glensc/cc-connection-close
use "Connection: close" of file_get_contents
This commit is contained in:
commit
35cddbf5eb
@ -79,7 +79,7 @@ class Minify_JS_ClosureCompiler {
|
||||
$contents = file_get_contents(self::URL, false, stream_context_create(array(
|
||||
'http' => array(
|
||||
'method' => 'POST',
|
||||
'header' => 'Content-type: application/x-www-form-urlencoded',
|
||||
'header' => "Content-type: application/x-www-form-urlencoded\r\nConnection: close\r\n",
|
||||
'content' => $postBody,
|
||||
'max_redirects' => 0,
|
||||
'timeout' => 15,
|
||||
|
Loading…
x
Reference in New Issue
Block a user