diff mod_rest/README.markdown @ 4920:b9f8dd9a7fdb

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!
author Kim Alvefur <zash@zash.se>
date Sat, 09 Apr 2022 00:37:55 +0200
parents dc35d2932d3e
children bdac7c717c91
line wrap: on
line diff
--- 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"