diff mod_http_debug/README.md @ 5490:91564b57e595

mod_http_debug: Handle more HTTP methods Often you might want to see what POST data was sent, or such.
author Kim Alvefur <zash@zash.se>
date Fri, 26 May 2023 15:36:04 +0200
parents a7188eb4ded4
children
line wrap: on
line diff
--- a/mod_http_debug/README.md	Fri May 26 15:20:04 2023 +0200
+++ b/mod_http_debug/README.md	Fri May 26 15:36:04 2023 +0200
@@ -29,3 +29,12 @@
    }
 }
 ```
+
+# Configuration
+
+HTTP Methods handled can be configured via the `http_debug_methods`
+setting. By default, the most common methods are already enabled.
+
+```lua
+http_debug_methods = { "GET"; "HEAD"; "DELETE"; "OPTIONS"; "PATCH"; "POST"; "PUT" };
+```