- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for MaxBytesError (0.2 sec)
-
src/net/http/request.go
if n < 0 { // Treat negative limits as equivalent to 0. n = 0 } return &maxBytesReader{w: w, r: r, i: n, n: n} } // MaxBytesError is returned by [MaxBytesReader] when its read limit is exceeded. type MaxBytesError struct { Limit int64 } func (e *MaxBytesError) Error() string { // Due to Hyrum's law, this text cannot be changed. return "http: request body too large" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 49.4K bytes - Viewed (0)