diff options
author | Loïc Hoguin <[email protected]> | 2018-05-18 18:38:38 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-05-18 18:38:38 +0200 |
commit | 5d1cf363587870db7bb2333456d4c9d1b6ad1c5f (patch) | |
tree | dbfb41f5b98aaf41407e3a51dca9c3931cdde8df /test | |
parent | 5229d790fb720ea340171e4b290cffdce9c68197 (diff) | |
download | cowboy-5d1cf363587870db7bb2333456d4c9d1b6ad1c5f.tar.gz cowboy-5d1cf363587870db7bb2333456d4c9d1b6ad1c5f.tar.bz2 cowboy-5d1cf363587870db7bb2333456d4c9d1b6ad1c5f.zip |
Remove the trailer header from HTTP/1.1 response if no TE
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 eb5f225..2c4319f 100644 --- a/test/rfc7230_SUITE.erl +++ b/test/rfc7230_SUITE.erl @@ -1912,7 +1912,7 @@ te_trailers(Config) -> #{code := 200, headers := RespHeaders} = do_raw(Config, [ "GET /resp/stream_trailers HTTP/1.1\r\n" "Host: localhost\r\n" - "TE: trailer\r\n" + "TE: trailers\r\n" "\r\n"]), {_, <<"chunked">>} = lists:keyfind(<<"transfer-encoding">>, 1, RespHeaders), {_, <<"grpc-status">>} = lists:keyfind(<<"trailer">>, 1, RespHeaders), |