Fork me on GitHub

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.


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?


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