Skip to content
Permalink
Browse files

RFC2616 When sending a request through a proxy URI must be in an abso…

…luteURI format. Fixes #10038
  • Loading branch information...
dmromanov committed Jan 14, 2017
1 parent 9e41f11 commit 2710e2b174194d5e3b990b337fb3a6dd69abe8fe
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Http/Client/Adapter/Stream.php
@@ -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'];
}
}

0 comments on commit 2710e2b

Please sign in to comment.
You can’t perform that action at this time.