You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Pascal Fonte <pa...@hotmail.com> on 2007/07/16 11:35:47 UTC

DateParser exception with v2.0.2

Hi,
I use the httpclient v2.0.2
I call a GetMethod (with argument "T") in order to list a remote directory,
For each returned file, I extract the part of the string associated to the 
date,
but I have a DateParseException "Unable to parse the date"
date formats are:
- MMM dd HH:mm
- MMM dd  yyyy (for older files)
does the list method response date format depends of the http server?
Anybody knows a clear documentation about this?

Thank you very much

_________________________________________________________________
Windows Live Messenger sur i-modeĀ™ : dialoguez avec vos amis depuis votre 
mobile comme sur PC ! http://mobile.live.fr/messenger/bouygues/


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Re: DateParser exception with v2.0.2

Posted by Roland Weber <RO...@de.ibm.com>.
Hello Pascal,

version 2 is no longer supported. Please upgrade to version 3.0 or 3.1
and see if the problem is still present. If so, post a wire log of the
headers so we can see what date string causes the problem.
http://jakarta.apache.org/commons/httpclient/logging.html

cheers,
  Roland