uvicorn icon indicating copy to clipboard operation
uvicorn copied to clipboard

Add support for Trailers

Open sam-kleiner opened this issue 2 years ago • 2 comments

Original discussion: #1593 Issue: #1596

sam-kleiner avatar Aug 08 '22 17:08 sam-kleiner

Looks like I need to update asgi ref before the tests will pass here. I will PR that to add trailers property to HTTPResponseStartEvent, then also add a new HTTPResponseTrailersEvent

sam-kleiner avatar Aug 08 '22 18:08 sam-kleiner

Looks like I need to update asgi ref before the tests will pass here. I will PR that to add trailers property to HTTPResponseStartEvent, then also add a new HTTPResponseTrailersEvent

See https://github.com/django/asgiref/issues/141#issuecomment-1111289069 for more information on what is needed.

Kludex avatar Aug 10 '22 06:08 Kludex

@sam-kleiner Are you willing to keep working on this?

Also, do you have a real use-case for this extension?

Kludex avatar Oct 28 '22 13:10 Kludex

Closing as stale.

If someone has a good use case, please create a discussion pointing that out. :pray:

Kludex avatar Dec 05 '22 08:12 Kludex