kennethreitz/requests — Issue #362: https requests over proxy
Author: vly
Created: 2012-01-19 00:29:58+00:00
State: open

Have run into an issue while trying to access https over proxy. Have had no issues doing the same via curl.

Here is a log of attempting to access https://github.com:

```python
PROXY_LIST = {
'http':'http://',myproxy:80' ,
'https':'http://myproxy:80'
}
connection = requests.get('https://github.com',proxies=PROXY_LIST)
print connection.content
```
Outputs:
```html

400 The plain HTTP request was sent to HTTPS port

400 Bad Request

The plain HTTP request was sent to HTTPS port

nginx/1.0.4

```

Any suggestions would be appreciated.