|
@@ 151-155 (lines=5) @@
|
| 148 |
|
if ($this->_isproxy) { |
| 149 |
|
// using proxy, send entire URI |
| 150 |
|
$this->_httprequest($URI, $fp, $URI, $this->_httpmethod); |
| 151 |
|
} else { |
| 152 |
|
$path = $URI_PARTS["path"] . ($URI_PARTS["query"] ? "?" . $URI_PARTS["query"] : ""); |
| 153 |
|
// no proxy, send only the path |
| 154 |
|
$this->_httprequest($path, $fp, $URI, $this->_httpmethod); |
| 155 |
|
} |
| 156 |
|
|
| 157 |
|
$this->_disconnect($fp); |
| 158 |
|
|
|
@@ 241-245 (lines=5) @@
|
| 238 |
|
if ($this->_isproxy) { |
| 239 |
|
// using proxy, send entire URI |
| 240 |
|
$this->_httprequest($URI, $fp, $URI, $this->_submit_method, $this->_submit_type, $postdata); |
| 241 |
|
} else { |
| 242 |
|
$path = $URI_PARTS["path"] . ($URI_PARTS["query"] ? "?" . $URI_PARTS["query"] : ""); |
| 243 |
|
// no proxy, send only the path |
| 244 |
|
$this->_httprequest($path, $fp, $URI, $this->_submit_method, $this->_submit_type, $postdata); |
| 245 |
|
} |
| 246 |
|
|
| 247 |
|
$this->_disconnect($fp); |
| 248 |
|
|