]> granicus.if.org Git - pdns/commit
dnsdist: Add basic CORS support in the webserver
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 12 Jan 2016 15:00:36 +0000 (16:00 +0100)
committerRemi Gacogne <rgacogne-github@coredump.fr>
Thu, 14 Jan 2016 08:17:22 +0000 (09:17 +0100)
commit5387cc78ecee70f49fcde9962769679f0069689f
tree9b8144d41d96bf399358810e76969b776f6252db
parent1dd4c70683f739a6eea47c457a8c421bcd726a97
dnsdist: Add basic CORS support in the webserver

Now that we have removed JSONP support, we need to support
Cross-Origin Resource Sharing (CORS) to allow web pages not served
by our webserver to access our JSON REST API (well, stats).
pdns/dnsdist-web.cc