mirror of
https://github.com/caddyserver/caddy.git
synced 2026-06-29 21:31:41 +00:00
log: add log request body test
Signed-off-by: Tw <tw19881113@gmail.com>
This commit is contained in:
parent
1d3212a598
commit
bba1059ef9
2 changed files with 59 additions and 1 deletions
|
|
@ -276,5 +276,6 @@ const (
|
|||
headerContentType = "Content-Type"
|
||||
contentTypeJSON = "application/json"
|
||||
contentTypeXML = "application/xml"
|
||||
maxLogBodySize = 100 * 1024
|
||||
// MaxLogBodySize limits the size of logged request's body
|
||||
MaxLogBodySize = 100 * 1024
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue