From 17719a136dbe520436ae4aa5dd4827a19b1a5348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 8 Dec 2017 20:38:31 +0100 Subject: Add the few remaining tests to the rfc7231 test suite --- src/cowboy_compress_h.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/cowboy_compress_h.erl b/src/cowboy_compress_h.erl index 9dcb805..fb5ed71 100644 --- a/src/cowboy_compress_h.erl +++ b/src/cowboy_compress_h.erl @@ -66,6 +66,7 @@ early_error(StreamID, Reason, PartialReq, Resp, Opts) -> %% Check if the client supports decoding of gzip responses. check_req(Req) -> + %% @todo Probably shouldn't unconditionally crash on failure. case cowboy_req:parse_header(<<"accept-encoding">>, Req) of %% Client doesn't support any compression algorithm. undefined -> -- cgit v1.2.3