-
(httpx version 0.16.1) Hi guys, great package! When I try to replace When using
However, for the same url, data and additional header key-value pairs, this does not work with Does somebody know how this can work? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Can you show what you're doing and what behaviour you're seeing? (Keep your example absolutely as minimal as possible) There's nothing wrong with how you've shown the headers there. One possibility I can think of here would be if you're requesting a URL and getting a redirect to a different origin then the Authorization headers would be stripped for the subsequent request. |
Beta Was this translation helpful? Give feedback.
-
Hi @tomchristie ! Thanks for responding that quickly! The problem is now solved: I am directed via a proxy server and did not set |
Beta Was this translation helpful? Give feedback.
Hi @tomchristie ! Thanks for responding that quickly!
The problem is now solved: I am directed via a proxy server and did not set
os.environ["NO_PROXY"] = "*"
. It seems as if aiohttp sets this by default.