+
+# A type of HTTP resource that is not a stream, but rather just a very simple
+# document that a HTTP 204 response and nothing else. allow_origin= is optional;
+# if it is set, the response will contain an Access-Control-Allow-Origin header
+# with the given value, allowing the ping response to be read (and
+# differentiated from an error) from a remote domain using XHR.
+#
+# If you have a stream and a gen204 endpoint with the same URL, the stream takes
+# precedence and the ping endpoint is silently ignored.
+gen204 /ping allow_origin=*