Software /
code /
prosody-modules
Comparison
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 |
parent | 5489:a7188eb4ded4 |
comparison
equal
deleted
inserted
replaced
5489:a7188eb4ded4 | 5490:91564b57e595 |
---|---|
27 "url" : { | 27 "url" : { |
28 "path" : "/debug" | 28 "path" : "/debug" |
29 } | 29 } |
30 } | 30 } |
31 ``` | 31 ``` |
32 | |
33 # Configuration | |
34 | |
35 HTTP Methods handled can be configured via the `http_debug_methods` | |
36 setting. By default, the most common methods are already enabled. | |
37 | |
38 ```lua | |
39 http_debug_methods = { "GET"; "HEAD"; "DELETE"; "OPTIONS"; "PATCH"; "POST"; "PUT" }; | |
40 ``` |