mod_rest/README: Mention the OPTIONS probe fired at the callback
authorKim Alvefur <zash@zash.se>
Sat, 09 Apr 2022 00:37:55 +0200
changeset 4923 b9f8dd9a7fdb
parent 4922 347e34c3c7e2
child 4924 bdac7c717c91
mod_rest/README: Mention the OPTIONS probe fired at the callback ... in passing. Should be documented better. But not this day! This day, I commit features!
mod_rest/README.markdown
--- a/mod_rest/README.markdown	Thu Apr 07 17:49:08 2022 +0200
+++ b/mod_rest/README.markdown	Sat Apr 09 00:37:55 2022 +0200
@@ -130,7 +130,8 @@
 rest_callback_url = "http://my-api.example:9999/stanzas"
 ```
 
-To enable JSON payloads set
+The preferred format can be indicated via the Accept header in response
+to an OPTIONS probe that mod_rest does on startup, or by configuring:
 
 ``` {.lua}
 rest_callback_content_type = "application/json"