0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Improve a few types, including cowboy_req:req()

This commit is contained in:
Loïc Hoguin 2018-10-31 11:45:04 +01:00
parent a8335c63df
commit 473e3fb82b
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
7 changed files with 63 additions and 37 deletions

View file

@ -52,12 +52,12 @@ init_per_group(Name = https, Config) ->
init_per_group(Name = http_compress, Config) ->
cowboy_test:init_http(Name, #{
env => #{dispatch => init_dispatch(Config)},
compress => true
stream_handlers => [cowboy_compress_h, cowboy_stream_h]
}, Config);
init_per_group(Name = https_compress, Config) ->
cowboy_test:init_https(Name, #{
env => #{dispatch => init_dispatch(Config)},
compress => true
stream_handlers => [cowboy_compress_h, cowboy_stream_h]
}, Config).
end_per_group(Name, _) ->