users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] HTTP Date representation

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Thu, 16 May 2013 11:48:51 +0100

Hi

My understanding is that "EEE, dd MMM yyyy HH:mm:ss zzz" format
correctly represents HTTP dates, Locale: US, TimeZone: GMT.

Note the above format does not capture milliseconds and I'm not seeing
any of related RFCs recommending the use of milliseconds in Date
representations or at

http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-22#page-63

I'm seeing a test failing due to mismatch in milliseconds (between the
original Date used by the test on the client side and the one created
from the date constructed as per the above format, I think when Date is
being reconstructed from the above format, the current milliseconds are
set on Date).

Question: are implementations expected to include milliseconds ? I think
the answer No, but asking just in case...

Sergey