]> git.ipfire.org Git - thirdparty/pdns.git/commit
auth api: return new serial in header after PATCH
authorKonrad Wojas <github@m.wojas.nl>
Fri, 15 Sep 2017 05:56:38 +0000 (13:56 +0800)
committerKonrad Wojas <github@m.wojas.nl>
Fri, 15 Sep 2017 05:56:38 +0000 (13:56 +0800)
commit3ae63ca8496d9f2be99f066bbe489cfee11363d9
tree62f22e2aa907d847f89e807f5c705f1bfb545971
parent4f1c981aaaebebb8d0bd1fac9029fe237ad2f3af
auth api: return new serial in header after PATCH

For zone PATCH requests, this adds a new `X-PDNS-Zone-Serial` response
header with the new zone serial.

Ideally this would be returned in a response JSON object, but this API
currently return 204 No Content and I did not want to break any clients
that might rely on this.
docs/http-api/endpoint-zones.rst
pdns/ws-auth.cc