diff options
Diffstat (limited to 'src/cowboy_compress_h.erl')
-rw-r--r-- | src/cowboy_compress_h.erl | 1 |
1 files changed, 1 insertions, 0 deletions
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 -> |