diff options
author | Loïc Hoguin <[email protected]> | 2017-11-29 21:38:10 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-11-29 21:38:10 +0100 |
commit | b0519af42a4d3ee7e345967206bd1d0050e9061b (patch) | |
tree | 893faa21f4adab4070138da124fbc9f308f71f01 /test | |
parent | 8d9404e9b64a84117e765caa9b79877a15e5b693 (diff) | |
download | cowboy-b0519af42a4d3ee7e345967206bd1d0050e9061b.tar.gz cowboy-b0519af42a4d3ee7e345967206bd1d0050e9061b.tar.bz2 cowboy-b0519af42a4d3ee7e345967206bd1d0050e9061b.zip |
Don't include a content-length in 204 responses
Diffstat (limited to 'test')
-rw-r--r-- | test/rfc7230_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rfc7230_SUITE.erl b/test/rfc7230_SUITE.erl index bca620d..9175fa9 100644 --- a/test/rfc7230_SUITE.erl +++ b/test/rfc7230_SUITE.erl @@ -1764,7 +1764,7 @@ no_content_length_in_204_response(Config) -> "(RFC7230 3.3.1, RFC7230 3.3.2)"), Client = raw_open(Config), ok = raw_send(Client, [ - "GET /resp/reply4/204 HTTP/1.1\r\n" + "GET /resp/reply3/204 HTTP/1.1\r\n" "Host: localhost\r\n" "\r\n"]), {_, 204, _, Rest} = cow_http:parse_status_line(raw_recv_head(Client)), |