Skip to content

Commit

Permalink
RFC2616 When sending a request through a proxy URI must be in an abso…
Browse files Browse the repository at this point in the history
…luteURI format. Fixes #10038
  • Loading branch information
dmromanov committed Jan 14, 2017
1 parent 9e41f11 commit 2710e2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Http/Client/Adapter/Stream.php
Expand Up @@ -202,6 +202,7 @@ protected function _buildOptions(Request $request, $options)
$this->_contextOptions['max_redirects'] = (int)$options['redirect'];
}
if (isset($options['proxy']['proxy'])) {
$this->_contextOptions['request_fulluri'] = true;
$this->_contextOptions['proxy'] = $options['proxy']['proxy'];
}
}
Expand Down

0 comments on commit 2710e2b

Please sign in to comment.