Re: [jetty-user] swf files - chunked encoding

Jan Bartel <[email protected]> Thu, 18 Aug 2011 17:12:12 +1000
Newsgroups gmane.comp.java.jetty.support
Message-ID <CALg=Vpid8J2g7kR0LRqpcfgNUw+TNDE=VeW0SoFtJWsE8n4OmQ@mail.gmail.com>
Ray,

Chunking is normally done when the content is being dynamically generated
and the
servlet doing the generating has not set the content length. I would expect
that the
browser receiving the swf file should be able to cope with a direct content
length or
a chunked response.

How is the dynamic generation being done? Are there any filters/response
wrappers used?

Jan

On 17 August 2011 03:33, Ray Nicholus <[email protected]> wrote:

> When using Jetty, swf files, in an application I am using, are not served
> up correctly.  In fact, I'm not able to play the swf at all.  Looking at the
> headers, transfer-encoding is set to chunked.  If I run the same code on
> Tomcat, there is a specific file size and the swfs are served properly.  I'm
> using Jetty 7.  Any idea what I can do to fix this?
>
>