summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class2
1 files changed, 2 insertions, 0 deletions
diff --git a/it_url.class b/it_url.class
index 4552cf5..f9b9e34 100644
--- a/it_url.class
+++ b/it_url.class
@@ -339,6 +339,8 @@ function request_curl($p=array())
if ($got) {
list($url->header, $url->data) = explode("\r\n\r\n", $got, 2);
+ if (preg_match('#^(HTTP\S+)\s100\sContinue$#', $url->header))
+ list($url->header, $url->data) = explode("\r\n\r\n", $url->data, 2);
$url->header .= "\r\n\r\n";
$url->parse_http_header($url->header);