Fix tumblr api to support new response headers
Fix the check of the response headers