Permalink
Browse files

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

…vent them.
  • Loading branch information...
1 parent 5fa6ba9 commit 247f7f4e2785e69e6512e9785dc8c62e43a2d5b0 @sbisbee committed Jul 31, 2012
Showing with 1 addition and 12 deletions.
  1. +1 −12 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);

0 comments on commit 247f7f4

Please sign in to comment.