Hide
FileHandler.isUpToDate()
We should check for "length" and re-parse.
Normally clients send If-Modified-Since in rfc-compliant form ("If-Modified-Since: Tue, 13 Mar 2007 13:11:09 GMT") some proxies or browsers add length to this header so it comes like ("If-Modified-Since: Tue, 13 Mar 2007 13:11:09 GMT; length=35946") The servlet spec says container can throw IllegalArgumentException if header value can not be parsed as http-date. We might want to check for "; length=" and then do our own parsing
Show
FileHandler.isUpToDate()
We should check for "length" and re-parse.
Normally clients send If-Modified-Since in rfc-compliant form ("If-Modified-Since: Tue, 13 Mar 2007 13:11:09 GMT") some proxies or browsers add length to this header so it comes like ("If-Modified-Since: Tue, 13 Mar 2007 13:11:09 GMT; length=35946") The servlet spec says container can throw IllegalArgumentException if header value can not be parsed as http-date. We might want to check for "; length=" and then do our own parsing