comparison src/goodjava/webserver/RequestParser.java @ 1607:fa066aaa068c

nginx caching
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 30 Apr 2021 20:23:28 -0600
parents fb003c4003dd
children a02a75e3daa8
comparison
equal deleted inserted replaced
1606:7c7f28c724e8 1607:fa066aaa068c
125 125
126 private String parseName() throws ParseException { 126 private String parseName() throws ParseException {
127 int start = parser.currentIndex(); 127 int start = parser.currentIndex();
128 require( tokenChar() ); 128 require( tokenChar() );
129 while( tokenChar() ); 129 while( tokenChar() );
130 return parser.textFrom(start).toLowerCase(); 130 return parser.textFrom(start);
131 } 131 }
132 132
133 private String parseValue() throws ParseException { 133 private String parseValue() throws ParseException {
134 int start = parser.currentIndex(); 134 int start = parser.currentIndex();
135 while( !testEndOfValue() ) 135 while( !testEndOfValue() )