Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] ResourceHandler corrupts images

Yeah, the 

Content-Type    image/png; charset=ISO-8859-1

is the reason you are seeing this odd behavior.
That line should not contain the charset portion.
It should read as only

Content-Type: image/png

Joakim Erdfelt <joakim@xxxxxxxxxxx>
Developer advice, services and support
from the Jetty & CometD experts.

On Sat, Oct 6, 2012 at 12:30 PM, boneDragon <edartuz@xxxxxxxxx> wrote:
Captured with Firebug:

Request Headers
Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding gzip, deflate
Accept-Language uk,ru;q=0.8,en;q=0.5,en-us;q=0.3
Connection      keep-alive
Host    localhost:8888
User-Agent      Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20100101

Response Headers
Content-Length  2500
Content-Type    image/png; charset=ISO-8859-1
Last-Modified   Mon, 09 Nov 2009 05:11:36 GMT
Server  Jetty(6.1.26)

View this message in context:
Sent from the Jetty User mailing list archive at
jetty-users mailing list

Back to the top