[
https://issues.apache.org/jira/browse/HTTPCLIENT-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Darren Hague resolved HTTPCLIENT-1530.
--------------------------------------
Resolution: Not a Problem
I should think more before raising a ticket...
DateUtils.parseDate("Fri, 14 Oct 2005 00:00:00 -0000") works fine - might be
worth adding this case to TestDateUtils
> DateUtils.parseDate not fully compliant with RFC 1123
> -----------------------------------------------------
>
> Key: HTTPCLIENT-1530
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1530
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 4.3.4
> Reporter: Darren Hague
> Priority: Minor
> Fix For: 4.3.5, 4.4 Alpha2
>
>
> RFC-1123 (http://www.ietf.org/rfc/rfc1123.txt ) says:
> There is a strong trend towards the use of numeric timezone
> indicators, and implementations SHOULD use numeric timezones
> instead of timezone names. However, all implementations MUST
> accept either notation. If timezone names are used, they MUST
> be exactly as defined in RFC-822.
> Ruby on Rails v4 issues cookies with a numeric timezone in the expiry date.
> DateUtils.parseDate() is used by HtmlUnit to parse the expiry date of cookies.
> This bug means that HtmlUnit does not correctly deal with cookie expiration
> when talking to a Ruby on Rails application.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]