requests.headers.has_key doesn't exist