diff options
author | Nathan Gass | 2015-03-12 12:24:06 +0100 |
---|---|---|
committer | Nathan Gass | 2015-03-12 12:24:06 +0100 |
commit | 91b5bfeb272cd867d902d8164f9912cef2d820b3 (patch) | |
tree | c0539abaa3c7f560c8ea5834fc82a899e6024b21 /it_url.class | |
parent | e602c406885f576c925ed05bf32f9a39d24ff764 (diff) | |
download | itools-91b5bfeb272cd867d902d8164f9912cef2d820b3.tar.gz itools-91b5bfeb272cd867d902d8164f9912cef2d820b3.tar.bz2 itools-91b5bfeb272cd867d902d8164f9912cef2d820b3.zip |
fix request_curl to be compatible with request (header variable should include final newlines)
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/it_url.class b/it_url.class index a842e51..c18f867 100644 --- a/it_url.class +++ b/it_url.class @@ -466,6 +466,7 @@ function request_curl($p=array()) if ($got) { list($url->header, $url->data) = explode("\r\n\r\n", $got, 2); + $url->header .= "\r\n\r\n"; $url->parse_http_header($url->header); |