You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working through a POC for something and I'm investigating the possibility of using HTTPX as part of what effectively amounts to a reverse proxy. IE an ASGI / Starlette web app that has route which will recieve requests and forward them onto other microservives.
I wanted to know if httpx has anything that can aid transforming http requests from starlette (or raw ASGI) into httpx requests and visa versa with responses. I'm aware there could be quite a lot of complexity with this including chunked request / response bodies and http trailers to name just to edge cases.
Have I missed anything in httpx or supporting libraries that might help interpreting and forwarding ASGI requests?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working through a POC for something and I'm investigating the possibility of using HTTPX as part of what effectively amounts to a reverse proxy. IE an ASGI / Starlette web app that has route which will recieve requests and forward them onto other microservives.
I wanted to know if httpx has anything that can aid transforming http requests from starlette (or raw ASGI) into httpx requests and visa versa with responses. I'm aware there could be quite a lot of complexity with this including chunked request / response bodies and http trailers to name just to edge cases.
Have I missed anything in httpx or supporting libraries that might help interpreting and forwarding ASGI requests?
Beta Was this translation helpful? Give feedback.
All reactions