commit | 8511ed454a40f861e1b2aac6acbe6d6aa8325bf3 | [log] [tgz] |
---|---|---|
author | Dave Cheney <dave@cheney.net> | Thu Aug 25 14:00:00 2011 +0400 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Thu Aug 25 14:00:00 2011 +0400 |
tree | 9c9d0c7171a5cd341d2587c717307b8f1bed985d | |
parent | 1f0d277cc1bfac5a92432f645c6a504a17dabce0 [diff] |
http: return 413 instead of 400 when the request body is too large RFC2616 says servers should return this status code when rejecting requests that are too large. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.14 R=bradfitz CC=golang-dev https://golang.org/cl/4962041