We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a (multiple allowed):
bug
enhancement
feature-discussion (RFC)
CakePHP Version: 3.3.12
Platform and Target: PHP CLI 7.1.0-5+deb.sury.org~yakkety+1 Squid proxy 3.5.12 Ubuntu 16.10
I've used Cake\Http\Client to send a request to a web-server via a proxy.
$request = new Client(); $request->get('http://127.0.0.1:8765/foo', [], [ 'proxy' => [ 'proxy' => '127.0.0.1:3128', ] ]);
Http Client sent a request with an URI specified in relative URI form. Request failed. Proxy returned an error.
According to RFC2616 when sending a request to a proxy request URI MUST be sent in an absolute form.
The text was updated successfully, but these errors were encountered:
RFC2616 When sending a request through a proxy URI must be in an abso…
2710e2b
…luteURI format. Fixes cakephp#10038
No branches or pull requests
This is a (multiple allowed):
bug
enhancement
feature-discussion (RFC)
CakePHP Version: 3.3.12
Platform and Target:
PHP CLI 7.1.0-5+deb.sury.org~yakkety+1
Squid proxy 3.5.12
Ubuntu 16.10
What you did
I've used Cake\Http\Client to send a request to a web-server via a proxy.
What happened
Http Client sent a request with an URI specified in relative URI form.
Request failed. Proxy returned an error.
What you expected to happen
According to RFC2616 when sending a request to a proxy request URI MUST be sent in an absolute form.
The text was updated successfully, but these errors were encountered: