Fork me on GitHub
#yada
<
2017-09-20
>
frozenlock17:09:42

I'm having some difficulties with yada's 'if-modified-since' capabilities. In the browser it works fine. But when I send it via an aleph http client with the same exact string as the one received with 'last-modified', the server still sends me the whole response instead of a 304.

frozenlock17:09:11

Could it be that the coercion of java.util.Date to the 'last-modified' string is less precise (resolution of seconds) and can thus appear to be a different time when I send it back?

malcolmsparks17:09:37

Possibly. HTTP time resolution is seconds as far as I recall from the spec Can you raise an issue?