Skip to main content

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

On 06/10/2012 21:37, Joakim Erdfelt wrote:
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

No, see RFC 2616 section 14.17:
"An example of the field is
   Content-Type: text/html; charset=ISO-8859-4"...

However, changing the charset to UTF-8 will probably
do the trick.

--
John English


Back to the top