diff options
author | Loïc Hoguin <[email protected]> | 2024-01-09 11:01:39 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2024-01-09 11:01:39 +0100 |
commit | f0101ffe41b7ec6554c173dc218d60b97ee02d64 (patch) | |
tree | 530a7da457466226f40035b836f63b398c9ecb00 /src | |
parent | a40bab8fb3491a587c93bedb53404decacfe49dc (diff) | |
download | cowboy-f0101ffe41b7ec6554c173dc218d60b97ee02d64.tar.gz cowboy-f0101ffe41b7ec6554c173dc218d60b97ee02d64.tar.bz2 cowboy-f0101ffe41b7ec6554c173dc218d60b97ee02d64.zip |
Shorten the 204/304 error message
Diffstat (limited to 'src')
-rw-r--r-- | src/cowboy_req.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl index 68f6bc6..5d84eed 100644 --- a/src/cowboy_req.erl +++ b/src/cowboy_req.erl @@ -830,7 +830,7 @@ do_reply_ensure_no_body(Status, Headers, Body, Req) -> do_reply(Status, Headers, Body, Req); _ -> exit({response_error, payload_too_large, - '204 and 304 responses must not include a response body. (RFC7230 3.3)'}) + '204 and 304 responses must not include a body. (RFC7230 3.3)'}) end. %% Don't send any body for HEAD responses. While the protocol code is |