TheSundar / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

KeyError is raised when following redirects with invalid URL schemes #301

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If a "Location" HTTP header contains an invalid URL scheme, "KeyError" is 
raised when httplib2 tries to find a connection for that scheme.

Example: $ python -c 'from httplib2 import *; 
Http().request("http://pt.record.feedsportal.com/c/33382/f/574649/s/349b8425/sc/
7/l/0Lrecord0Bpt0C853395/story01.htm")'

Original issue reported on code.google.com by marciomb...@gmail.com on 10 Dec 2013 at 2:05