Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…vent them.
  • Loading branch information...
commit 247f7f4e2785e69e6512e9785dc8c62e43a2d5b0 1 parent 5fa6ba9
Sam Bisbee authored

Showing 1 changed file with 1 addition and 12 deletions. Show diff stats Hide diff stats

  1. +1 12 src/httpAdapters/SagCURLHTTPAdapter.php
13 src/httpAdapters/SagCURLHTTPAdapter.php
@@ -93,18 +93,7 @@ public function procPacket($method, $url, $data = null, $headers = array(), $spe
93 93 $response->body = '';
94 94
95 95 // split headers and body
96   - list($continue, $headers, $response->body) = explode("\r\n\r\n", $chResponse);
97   -
98   - /*
99   - * It doesn't always happen, but it seems that we will sometimes get a
100   - * Continue header that will screw parsing up.
101   - */
102   - if(!$response->body) {
103   - $response->body = $headers;
104   - $headers = $continue;
105   - }
106   -
107   - unset($continue);
  96 + list($headers, $response->body) = explode("\r\n\r\n", $chResponse);
108 97
109 98 // split up the headers
110 99 $headers = explode("\r\n", $headers);

0 comments on commit 247f7f4

Please sign in to comment.
Something went wrong with that request. Please try again.