# HG changeset patch # User Kim Alvefur # Date 1649457475 -7200 # Node ID b9f8dd9a7fdb139935970e4f4718c057270858bc # Parent 347e34c3c7e2f6265fc88005b887bd5164cf58c0 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! diff -r 347e34c3c7e2 -r b9f8dd9a7fdb 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"