Fixes an issue #128: ``Response not working with lxml''. This error happend due to...
authorDen Shabalin <den.shabalin@gmail.com>
Fri, 19 Aug 2011 16:18:26 +0000 (19:18 +0300)
committerDen Shabalin <den.shabalin@gmail.com>
Fri, 19 Aug 2011 16:18:26 +0000 (19:18 +0300)
commit2f55393593fb0d8818fa014bc004dfed73564110
treed6ab0a0a708b93766da729ff0ffba67464982d2d
parentefbbb84315505d78aff709106c53073e5111a9fe
Fixes an issue #128: ``Response not working with lxml''. This error happend due to lxml's attempt to do .geturl() call on the response object. __getattr__ didn't raise AttributeError so ``response.geturl'' returned None and ``response.geturl()'' resulted into ``TypeError: 'NoneType' object is not callable'' seen in the issue.
requests/models.py