The envelope middleware buffered and decoded any request carrying its headers, GETs included, which the router-wide body cap skips and which read-only tokens may call; its raw read had no cap of its own. Refuse an envelope on safe methods and read at most the decoded-size limit. |
||
|---|---|---|
| .. | ||
| bodylimit.go | ||
| bodylimit_test.go | ||
| config_envelope.go | ||
| config_envelope_test.go | ||
| domainValidator.go | ||
| security.go | ||
| security_test.go | ||
| validate.go | ||
| validate_mutation_test.go | ||
| validate_protocol_test.go | ||
| validate_test.go | ||