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:
parent
a8335c63df
commit
473e3fb82b
7 changed files with 63 additions and 37 deletions
|
@ -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, _) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue