Closed joaquincasares closed 11 years ago
Hi @joaquincasares
Just so you know, I updated my library to use requests
Please check and see if you are still receiving this error
Okay. Thanks for the update. I'll upgrade and test the new version and update you here.
Thanks again!
0.6.0 no longer has this issue.
Thanks!
This ensures the headers are never changed and thus allowing the following GET requests to complete successfully.
I was receiving TumblpyAuthErrors after running a t.post('user/info') followed by a t.get('followers', blog_url=blog['url']). Now it's all good.
This was what self.headers was returning after the original t.post() request: {'Content-Type': 'application/x-www-form-urlencoded', 'User-agent': 'Tumblpy 0.5.0'}.
Now it only returns: {'User-agent': 'Tumblpy 0.5.0'}
Thanks again for your great api code!