jenssegers / php-proxy

A PHP proxy script with https and post support
https://jenssegers.com
933 stars 266 forks source link

HTTP/2 to HTTP/1.1 #46

Closed shane9 closed 6 years ago

shane9 commented 7 years ago

Is there a way to specify HTTP protocol version? I have HTTP/2 over SSL going to a server on the backend that doesn't support HTTP/2. This causes a 505 HTTP Version Not Supported.

I see that there is way to do it in Guzzle like:

$request = $client->request('GET', '/get', ['version' => 1.0]);