On Tue, 2010-09-07 at 20:21 -0400, Chad La Joie wrote:
> I have a suggestion and a question.
> 
> First, I'd like to suggest creating an HTTP header names constant file 
> similar to HttpStatus.  A few HTTP defined header names are defined on 
> the HTTP object but not the majority of them.  While there are lots of 
> different specs that define HTTP headers I'm just suggesting those 
> defined in the HTTP specifications themselves.
> 

We will happily accept such class if contributed.


> Second, a question.  Is there a utility to parse HTTP dates into 
> something a bit more friendly to work with.  Something like 
> java.util.Date or milliseconds since the epoch?
> 

There is o.a.h.impl.cookie.DateUtils class in HttpClient module that
simplifies parsing and formatting of date attributes in HTTP headers.

See if that is what you want.

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to