Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing old and broken Continue header handling code now that we pre…

…vent them.
  • Loading branch information...
commit 247f7f4e2785e69e6512e9785dc8c62e43a2d5b0 1 parent 5fa6ba9
@sbisbee authored
Showing with 1 addition and 12 deletions.
  1. +1 −12 src/httpAdapters/SagCURLHTTPAdapter.php
View
13 src/httpAdapters/SagCURLHTTPAdapter.php
@@ -93,18 +93,7 @@ public function procPacket($method, $url, $data = null, $headers = array(), $spe
$response->body = '';
// split headers and body
- list($continue, $headers, $response->body) = explode("\r\n\r\n", $chResponse);
-
- /*
- * It doesn't always happen, but it seems that we will sometimes get a
- * Continue header that will screw parsing up.
- */
- if(!$response->body) {
- $response->body = $headers;
- $headers = $continue;
- }
-
- unset($continue);
+ list($headers, $response->body) = explode("\r\n\r\n", $chResponse);
// split up the headers
$headers = explode("\r\n", $headers);
Please sign in to comment.
Something went wrong with that request. Please try again.