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>
www.webtide.com
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
Firefox/15.0.1

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: http://jetty.4.n6.nabble.com/ResourceHandler-corrupts-images-tp4959274p4959276.html
Sent from the Jetty User mailing list archive at Nabble.com.
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top