mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
#493 XEHttpRequest 버그 수정
This commit is contained in:
parent
ba8629925f
commit
2e91e7367e
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ class XEHttpRequest
|
|||
$is_chunked = FALSE;
|
||||
while(strlen(trim($line = fgets($sock))))
|
||||
{
|
||||
list($equiv, $content) = preg_split('/ *: */', rtrim($line), 1);
|
||||
list($equiv, $content) = preg_split('/ *: */', rtrim($line), 2);
|
||||
if(!strcasecmp($equiv, 'Transfer-Encoding') && $content == 'chunked')
|
||||
{
|
||||
$is_chunked = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue