From 91b5bfeb272cd867d902d8164f9912cef2d820b3 Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Thu, 12 Mar 2015 12:24:06 +0100 Subject: fix request_curl to be compatible with request (header variable should include final newlines) --- it_url.class | 1 + 1 file changed, 1 insertion(+) (limited to 'it_url.class') 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); -- cgit v1.2.3