michaelhelmick/python-tumblpy — pull request #4 by joaquincasares (2012-09-16 07:56:28+00:00)
Title: I realized that after the POST request was completed, self.headers was modified.

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!