check / check (push) Waiting to run
Once MaxResponseSize bytes were read, limitedReader.Read refused the next read without looking for the end of the body. A body sent with a Content-Length gets io.EOF with its last bytes, but the end of a chunked body can come in a later read, so a chunked body of exactly the limit was refused. Once the limit is used up, Read now reads one more byte: at the end of the body it returns io.EOF, and with more data it returns ErrResponseTooLarge, as does every later Read. Model: opus-5-5