tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Trailer header and tomcat
Date Thu, 06 Aug 2009 19:12:43 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Keyur,

On 8/6/2009 12:35 PM, Keyur Shah wrote:
> While headers can never be added as headers once the response is committed,
> the trailer headers are in fact encoded in the body itself. 
> 
> So the convention could be that if a user has specified certain trailer
> headers: response.setHeader("Trailer", "SomeHeader"); and if he does set the
> "SomeHeader" header before the output stream is closed:
> response.setHeader("SomeHeader", "SomeValue"); then "SomeHeader" is added to
> the last chunk of size 0.

Sounds good. Do you know enough about Tomcat's chunking implementation
to write a patch (I certainly do not)? That would be great.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkp7KysACgkQ9CaO5/Lv0PAXYACePgJvGnixOxA1zrBmm1ZAcgc1
uHkAnA/QdvJE5xPQCC78Y9q4wb+llmwP
=5g5F
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message