Last active
January 29, 2019 06:49
GCP OIDC proxy response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Strip hop-by-hop headers and Content-Encoding. | |
headers = _strip_hop_by_hop_headers(resp.headers) | |
headers.pop('Content-Encoding', None) | |
return resp.content, resp.status_code, headers.items() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment