Defect #133

Check "If-Match" before XML validation

Added by IƱaki Baz Castillo almost 5 years ago. Updated about 2 years ago.

Status:New Start date:
Priority:Low Due date:
Assignee:Adrian Georgescu % Done:

0%

Category:Performance
Target version:Next Release

Description

If I upload (PUT) a wrong XML document setting a "If-Match" value which doesn't match the stored value, then OpenXCAP replies "409 Conflict".
This means that OpenXCAP validates the XML document before checking the "If-Match" value.

IMHO it would be much better if OpenXCAP inspects first the "If-Match" value, so in the case above it would reply "412" and wouldn't require to validate the content (expensive operation).

History

Updated by Tijmen de Mes about 2 years ago

  • 7 set to trunk

Also available in: Atom PDF