Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 1023:27f3dc761452
MimeTypes uses StringCache
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 01 Nov 2016 03:44:46 -0600 |
parents | 3718afd99988 |
children | cf0367978d8b |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AbstractHttpConnection.java Tue Nov 01 01:04:46 2016 -0600 +++ b/src/org/eclipse/jetty/server/AbstractHttpConnection.java Tue Nov 01 03:44:46 2016 -0600 @@ -552,7 +552,7 @@ case HttpHeaders.CONTENT_TYPE_ORDINAL: // value = MimeTypes.CACHE.lookup(value); - _charset=MimeTypes.getCharsetFromContentType(new ByteArrayBuffer(value)); + _charset = MimeTypes.getCharsetFromContentType(value); break; }