Skip to content

Classic (Monolithic) server: When restoring a backup for a non-existent document ,Armadietto responds with a 412 conflict status #164

Description

@DougReeder

The code currently does not discern between If-Match and If-None-Match in both the GET and PUT functions. It will just grab whichever header is set as the "version" and treat both headers the same way. When restoring a backup, and thus sending an ETAG in If-None-Match for a non-existent document (i.e. "create or update this document if there isn't one that matches this ETAG"), Armadietto will thus respond with a 412 conflict status.

A partial fix is in #104

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions