ipython/ipython — pull request #1758 by Carreau (2012-05-23 10:14:36+00:00)
Title: test_pr, fallback on http if git protocol fail, and SSL errors...

git protocol is blocked in my lab,
So I'm trying to modify somes scripts in tools to work with http://

it is partially working now, but `requests` still fails on github api:

```
Traceback (most recent call last):
File "tools/test_pr.py", line 248, in
test_pr(args.number, post_results=args.publish)
File "tools/test_pr.py", line 207, in test_pr
pr = gh_api.get_pull_request(gh_project, num)
File "/Users/matthiasbussonnier/ipython/tools/gh_api.py", line 78, in get_pull_request
response = requests.get(url)
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests-0.12.1-py2.7.egg/requests/api.py", line 52, in get
return request('get', url, **kwargs)
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests-0.12.1-py2.7.egg/requests/api.py", line 40, in request
return s.request(method=method, url=url, **kwargs)
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests-0.12.1-py2.7.egg/requests/sessions.py", line 229, in request
r.send(prefetch=prefetch)
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests-0.12.1-py2.7.egg/requests/models.py", line 609, in send
raise SSLError(e)
requests.exceptions.SSLError: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
```
Google don't want to be my friend, and no answer on `requests` issues lists on github...

Any clues ?