[PATCH 1 of 2] HTTP: add support for trailers in HTTP responses

Maxim Dounin mdounin at mdounin.ru
Mon Jul 4 14:21:36 UTC 2016


Hello!

On Thu, Jun 30, 2016 at 12:56:50PM -0700, Piotr Sikora wrote:

> Hey Maxim,
> 
> > Would adding r->trailers_emit (or r->expect_trailers, whichever you
> > prefer) make you happy?
> 
> Ping.

I'm not convinced this feature is needed at all.  It looks more 
like a Google-specific experiment, and this is not something I 
would like to see in nginx code.

If at all implemented, I would rather prefer adding trailers if a 
transfer encoding used allows this, and discrading them otherwise.  
This is something that anyway will happen if a protocol used does 
not allow trailers at all (e.g., HTTP/1.0).

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list