mirror of
https://github.com/caddyserver/website.git
synced 2025-06-22 14:10:32 -04:00
request_body: Clarify error behavior
This commit is contained in:
parent
8670d0ab74
commit
8adcfcbffc
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ request_body [<matcher>] {
|
|||
}
|
||||
```
|
||||
|
||||
- **max_size** is the maximum size in bytes allowed for the request body. It accepts all formats supported by [go-humanize](https://github.com/dustin/go-humanize/blob/master/bytes.go).
|
||||
- **max_size** is the maximum size in bytes allowed for the request body. It accepts all size values supported by [go-humanize](https://pkg.go.dev/github.com/dustin/go-humanize#pkg-constants). Reads of more bytes will return an error with HTTP status 413.
|
||||
|
||||
|
||||
## Examples
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue