DELETE on non existing Peer return 200

Hi there,

I might found a small but,

the GET method on “/peers/{nonExistingPeers}” return 404 which is normal.
but the DELETE method on the same “/peers/{nonExistingPeers}” returns 200

Souldn’t the DELETE return 404 as well as we are asking to delete a ressource that doesn’t exists ?

Best regards,

Salim

Hi Salim,

This discrepancy has just been fixed in the mainline, and will be part of forthcoming 1.8.1 release:
https://hg.orthanc-server.com/orthanc/rev/a20928107a90

HTH,
Sébastien-

Thanks Sebastien,

Best regards,

Salim