tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keyur Shah <keyu...@gmail.com>
Subject Trailer header and tomcat
Date Wed, 05 Aug 2009 20:14:54 GMT

Tomcat by default sends chunked responses => Transfer-Encoding:chunked

I'm calculating the ETag for the response dynamically as the content is
being
written to the response stream. Since I'll know the final value of the ETag
only
when the stream is closed, I indicate that using the Trailer header =>
Trailer:
ETag

I'm ensuring that just before the stream is closed, I set the ETag header =>
ETag: SomeETagValue

However, when I look at the response on the client, the ETag header was
never
written.

Is this a tomcat specific bug or am I doing something wrong?

Thanks,
Keyur
-- 
View this message in context: http://www.nabble.com/Trailer-header-and-tomcat-tp24835409p24835409.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message