Page MenuHomePhabricator

Consider responding to non-POST requests providing If-None-Match, If-Modified-Since headers
Closed, DeclinedPublic

Description

Those requests generally seem to make little sense, and If-Match or If-Unmodified-Since headers should be used for conditional edit operations.

Currently Wikibase REST API ignores If-None-Match, If-Modified-Since headers and handles the request as if those were not provided.
It might be preferred to flag the "unsupported" request to the client, e.g. by returning 400 error