fail_cond_put_unlocked
Joe Orton
joe at manyfish.co.uk
Wed Sep 3 19:56:37 EDT 2008
On Thu, Aug 28, 2008 at 09:33:15PM -0700, Alexander Chow wrote:
> Nice to see a mailing list now for litmus. This should be helpful. :)
Sorry it was down for so long...
> I've been working on Class 2 compliance for the Liferay Portal and run
> into an odd hitch. What is "fail_cond_put_unlocked" for? This is the
> result I get back:
>
> 22. fail_cond_put_unlocked FAIL (conditional PUT with invalid lock-
> token should fail: 201 Created)
>
> I figured out that I should be failing and returning a 423 Locked error,
> but why?
Hiya. Looking at this now, I'm not sure why this test is named so. But
it is expecting a 412 error for the PUT, because the If: header used has
an unsatisfiable condition, <DAV:no-lock>, and that seems like a valid
test.
Regards, Joe
More information about the litmus
mailing list