]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist docs: formatting + spelling in registerWebHandler explanation 10040/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 2 Feb 2021 10:30:20 +0000 (11:30 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 2 Feb 2021 10:30:20 +0000 (11:30 +0100)
pdns/dnsdistdist/docs/reference/config.rst

index c19c17fd8e2cc8757104bb166d3faa5bfa2cf629..cb57882d92bb0dec393234d11d02edc215702851 100644 (file)
@@ -336,11 +336,12 @@ Webserver configuration
 
   Register a function named ``handler`` that will be called for every query sent to the exact ``path`` path. The function will receive a :class:`WebRequest` object
   and a :class:`WebResponse` object, representing respectively the HTTP request received and the HTTP response to send.
-  For example an handler registered for '/foo' will receive these queries:
-  - GET /foo
-  - POST /foo
-  - GET /foo?param=1
-  - ...
+  For example a handler registered for '/foo' will receive these queries:
+
+  - ``GET /foo``
+  - ``POST /foo``
+  - ``GET /foo?param=1``
+
   But not queries for /foobar or /foo/bar.
 
   A sample handler function could be: