diff options
Diffstat (limited to 'modules/caddyhttp/requestbody')
-rw-r--r-- | modules/caddyhttp/requestbody/requestbody.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddyhttp/requestbody/requestbody.go b/modules/caddyhttp/requestbody/requestbody.go index dd3f256..dcebd8c 100644 --- a/modules/caddyhttp/requestbody/requestbody.go +++ b/modules/caddyhttp/requestbody/requestbody.go @@ -27,6 +27,7 @@ func init() { // RequestBody is a middleware for manipulating the request body. type RequestBody struct { + // The maximum number of bytes to allow reading from the body by a later handler. MaxSize int64 `json:"max_size,omitempty"` } |