asgi-proxy-lib icon indicating copy to clipboard operation
asgi-proxy-lib copied to clipboard

An ASGI function for proxying to a backend over HTTP

Results 4 asgi-proxy-lib issues
Sort by recently updated
recently updated
newest added

I sometimes find myself wanting to deploy a proxy that enables CORS.

enhancement

This code here: https://github.com/simonw/asgi-proxy-lib/blob/0730e872d5472db018f80a5c5b97aa80f03711ea/asgi_proxy/__init__.py#L75-L79 It should actually return a 500 error with a simple HTML page saying roughly what went wrong. There are actually a few relevant HTTP errors here:...

enhancement

Right now this proxy isn't useful for anything other than forwarding traffic to somewhere else. Including patterns for transforming proxied content would be really useful. Some transformations that I would...

enhancement

Nice project, thanks for sharing! Correct me if I'm wrong, but it doesn't seem to support WebSockets? If not, it could be interesting to use [httpx-ws](https://github.com/frankie567/httpx-ws).

enhancement