Clarification of HTTP 413 Payload Too Large

I recently started getting these when calling a service [1] (actually
reported as "Request Entity Too Large" per RFC2616).

The description in RFC7231 is:
"The 413 (Payload Too Large) status code indicates that the server is
refusing to process a request because the request payload is larger than
the server is willing or able to process."

Correct me if I'm wrong, but that's talking about the size of the *request*
payload, ie. client to server, not *requested* (response) payload, ie.
server back to client. However in my case the error was actually that the
data requested would be larger than the server was prepared to return.

Either way, this strikes me an easy source of confusion, I'd suggest an
extra word or two to help avoid this.


- try a wget on it

Received on Friday, 8 September 2017 08:50:26 UTC