summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorNathan Gass2015-03-12 12:24:06 +0100
committerNathan Gass2015-03-12 12:24:06 +0100
commit91b5bfeb272cd867d902d8164f9912cef2d820b3 (patch)
treec0539abaa3c7f560c8ea5834fc82a899e6024b21 /it_url.class
parente602c406885f576c925ed05bf32f9a39d24ff764 (diff)
downloaditools-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.class1
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);