Our application makes use of the Python
requests<http://docs.python-requests.org/en/latest/>library to post http
requests. As soon as we upgraded from 2.2.1 to 2.4.6
we started getting errors.
Trace:
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py",
line 284, in post
return self.request('post', url, data=data, **kwargs)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py",
line 241, in request
r.send(prefetch=prefetch)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/models.py",
line 605, in send
cookie_header = get_cookie_header(self.cookies, self)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/cookies.py",
line 113, in get_cookie_header
jar.add_cookie_header(r)
AttributeError: 'dict' object has no attribute 'add_cookie_header'
Not sure what to make of this sudden issue coming out of nowhere,
considering we did not change the requests library at all? Does anyone have
an idea what might be going on?
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.