So... The only compression I know of is resin has a GZIP filter on it.
But that means that everything is being GZIP'd, which is what I see in
the headers for all requests (both to wicket /host/app/... and to non-
wicket resources /host/css/...).
I believe this (the wicket-generated wicket-ajax.js) is the first and
only wicket-served static resource I have used (all of my other
javascript,css, etc. is outside of wicket).
So the differences are
1) Resin (since it works with Jetty)
2) Use of a wicket-served static resource (since all other types of
files work).
I have a feeling if I knew more about the internals of wicket's
mechanism for serving static resources, I might be able to figure out
why this is breaking on Resin and not on Jetty.
On Mar 10, 2009, at 10:30 AM, Ryan Gravener wrote:
I searched Resin Accept-Encoding and looks like I found your
papernapkin
paste: http://www.papernapkin.org/pastebin/view/4871/
The response header had: Transfer-Encoding: chunked, which would
mean that
the server is doing on the fly compression and no content-length
will ever
be sent. Perhaps resin is failing to compress the file.
Ryan Gravener
http://ryangravener.com/flex | http://twitter.com/ryangravener
On Tue, Mar 10, 2009 at 9:51 AM, Seth Green <seth.m.gr...@gmail.com>
wrote:
I'm running wicket (1.2.6) on both Jetty and Resin (3.0.25).
Everything appears to work correctly on Jetty. However, on Resin,
when
requesting the wicket-ajax.js file, it is sent back without a
content-length
header and is therefore unreadable by the browser. It appears this
only
happens when using compression (gzip, in this case). Requesting the
file
without compression, using cURL, returns the correct headers.
I am not using a proxy, this occurs when directly accessing Resin.
Has anyone every experienced this behavior, and/or can provide some
insight?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org