]> git.ipfire.org Git - thirdparty/pdns.git/commit - pdns/ws-recursor.cc
API: return status 204 on successful delete 1427/head
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 20 May 2014 13:52:37 +0000 (15:52 +0200)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 20 May 2014 15:14:17 +0000 (17:14 +0200)
commit37663c3b64df7ed83e106bf3c73edc9528da6d88
tree4f0ce97fb798d9fe0051f29bbcf717e214d0e759
parent86e401531c0474125b6537b3d8592cadee7661fe
API: return status 204 on successful delete

204 No Content is meant to indicate that the data (zone) is now gone.

Also add tests to make sure DELETE works.

Fixes #1422.
pdns/webserver.cc
pdns/ws-auth.cc
pdns/ws-recursor.cc
regression-tests.api/test_Zones.py