DWR

Improve date handling on Websphere in FileHandler

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Trivial Trivial
  • Resolution: Unresolved
  • Affects Version/s: 2.0.rc2
  • Fix Version/s: 4.0
  • Component/s: Core
  • Description:
    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

Activity

There are no comments yet on this issue.

People

Dates

  • Created:
    13/Mar/07 7:05 PM
    Updated:
    01/Dec/09 7:00 PM