304 or 412 for If-Modified-Since?

Hi folks,
RFC 2616 in Section 14.25 "If-Modified-Since" states that a 304 should be 
returned if the resource is not modified.

RFC 4918 in Section 12.1 "412 Precondition Failed" states that a 412 should 
be returned when a conditional header fails to hold.

So what should clients expect from WebDAV servers?

Second, does If-Modified-Since make sense for PROPFIND or REPORT requests?

-- 
Cyrus Daboo

Received on Wednesday, 30 June 2010 01:30:10 UTC