Fwd: org.apache.commons.httpclient.util.DateParser

2003-06-10 Thread Michael Becke
Please note the following questions/comments regarding DateParser. Mike Begin forwarded message: From: Christopher Brown [EMAIL PROTECTED] Date: Tue Jun 10, 2003 5:34:51 AM US/Eastern To: Michael Becke [EMAIL PROTECTED] Subject: org.apache.commons.httpclient.util.DateParser Hi Michael, It's

Re: org.apache.commons.httpclient.util.DateParser

2003-06-10 Thread Michael Becke
Christopher, Please note my comments below. The private static final String[] DATE_PATTERNS might be more efficiently declared as an array of DateFormat instances (never publicly accessible, as that could be tampered with using the apply method for example), as that avoids repeat parsing

Re: org.apache.commons.httpclient.util.DateParser

2003-06-10 Thread Oleg Kalnichevski
In general I think it would be nice for HttpClient to have more tools for handling headers. One option would be to add a bunch of methods to HttpMethod, but I think this would add too much clutter. Perhaps we should have a HeaderUtil class with convenience methods for parsing,