]> granicus.if.org Git - pdns/commit
auth api: also return old serial from PATCH
authorKonrad Wojas <github@m.wojas.nl>
Fri, 15 Sep 2017 06:39:32 +0000 (14:39 +0800)
committerKonrad Wojas <github@m.wojas.nl>
Fri, 15 Sep 2017 06:39:32 +0000 (14:39 +0800)
commit478de03bff3a52d5049e8abd8369fb67ad489e8e
tree131fda8678154c9a336c8a5126a6992013d19dcb
parent3ae63ca8496d9f2be99f066bbe489cfee11363d9
auth api: also return old serial from PATCH

This adds the old serial as X-PDNS-Old-Serial and renames the header of
the new one to match.

The old serial is useful to verify that no other PATCH happened in the
meantime.
docs/http-api/endpoint-zones.rst
pdns/ws-auth.cc