comparison 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
comparison
equal deleted inserted replaced
1022:3718afd99988 1023:27f3dc761452
550 // value = HttpHeaderValues.CACHE.lookup(value); 550 // value = HttpHeaderValues.CACHE.lookup(value);
551 break; 551 break;
552 552
553 case HttpHeaders.CONTENT_TYPE_ORDINAL: 553 case HttpHeaders.CONTENT_TYPE_ORDINAL:
554 // value = MimeTypes.CACHE.lookup(value); 554 // value = MimeTypes.CACHE.lookup(value);
555 _charset=MimeTypes.getCharsetFromContentType(new ByteArrayBuffer(value)); 555 _charset = MimeTypes.getCharsetFromContentType(value);
556 break; 556 break;
557 } 557 }
558 558
559 _requestFields.add(name, value); 559 _requestFields.add(name, value);
560 } 560 }