sbrunner opened this issue 12 years ago · 1 comments
This commit a254cc4 is not compatible with this commit: kennethreitz/requests@92355ad
Working code:
self.session = requests.session() if headers is not None: self.session.headers.update(headers)
Fixed with c6b26ae, thanks @fredj!