diff --git a/src/Http/Client/Adapter/Stream.php b/src/Http/Client/Adapter/Stream.php index 41fa7bdb20c..a06b6ab14f6 100644 --- a/src/Http/Client/Adapter/Stream.php +++ b/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']; } }