summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index da2ec54..8152efe 100644
--- a/it_url.class
+++ b/it_url.class
@@ -341,7 +341,7 @@ 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))
+ while (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";