Skip to content

Conditional QUERY #1917

@mnot

Description

@mnot

The semantics of the QUERY method change to a "conditional QUERY" if the request message includes an If-Modified-Since, If-Unmodified- Since, If-Match, If-None-Match, or If-Range header field ([RFCHTTP], Section 13). A conditional QUERY requests that the query be performed only under the circumstances described by the conditional header field(s). It is important to note, however, that such conditions are evaluated against the state of the target resource itself as opposed to the collected results of the search operation.

The last sentence could be read to indicate that the QUERY content isn't taken into account for evaluating the conditional. Given that caching is allowed, that seems counterproductive.

I think what needs to be said is that just like elsewhere, conditionals here are evaluated against the representation generated by the QUERY.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions