Ticket #117 (accepted Enhancement)

Opened 3 years ago

Last modified 17 months ago

Check "If-Match" before XML validation

Reported by: ibc Owned by: adigeo
Priority: Minor Milestone: Next Release
Component: Performance Version: trunk
Severity: Non-critical Keywords:
Cc:

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).

Change History

comment:1 Changed 2 years ago by saul

  • Version set to trunk
  • Milestone changed from Nice to have to Future release

comment:2 Changed 17 months ago by adigeo

  • Owner changed from support@ag-projects.com to adigeo
  • Status changed from new to accepted
  • Milestone changed from Future release to Next Release
Note: See TracTickets for help on using tickets.