mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-25 08:58:30 +00:00
Merge remote-tracking branch 'origin/jetty-9.4.x'
This commit is contained in:
commit
30bb2b4193
@ -801,7 +801,10 @@ public class Response implements HttpServletResponse
|
||||
String encoding = MimeTypes.getCharsetAssumedFromContentType(_contentType);
|
||||
if (encoding!=null)
|
||||
return encoding;
|
||||
_characterEncoding = StringUtil.__ISO_8859_1;
|
||||
encoding = MimeTypes.getCharsetInferredFromContentType(_contentType);
|
||||
if (encoding!=null)
|
||||
return encoding;
|
||||
return StringUtil.__ISO_8859_1;
|
||||
}
|
||||
return _characterEncoding;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user