-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.0, 2.2.0, 2.1.1, 2.1.2, 2.1.3
-
Component/s: jclouds-core
-
Labels:
The Expires header value has 5, rather than 4, digits for the year portion of the date, e.g.:
Expires: Wed, 22 Jan 02020 22:19:26 +0000
DefaultContentMetadataCodec contains:
httpExpiresDateCodec = dateCodecs.rfc1123();
and SimpleDateFormatDateService, where the RFC1123 codec is implemented, contains:
private static final SimpleDateFormat rfc1123SimpleDateFormat = new SimpleDateFormat("EEE, dd MMM yyyyy HH:mm:ss Z", Locale.US);
Note, it contains 'yyyyy', rather than 'yyyy'.
- links to