0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 12:40:25 +00:00

Remove outdated todo comments from req_SUITE

This commit is contained in:
Loïc Hoguin 2017-02-05 17:12:29 +01:00
parent 182f824138
commit 61d66a4de2
No known key found for this signature in database
GPG key ID: 71366FF21851DF03

View file

@ -178,7 +178,6 @@ method(Config) ->
<<"ZZZZZZZZ">> = do_body("ZZZZZZZZ", "/method", Config), <<"ZZZZZZZZ">> = do_body("ZZZZZZZZ", "/method", Config),
ok. ok.
%% @todo Do we really want a key/value list here instead of a map?
parse_cookies(Config) -> parse_cookies(Config) ->
doc("Request cookies."), doc("Request cookies."),
<<"[]">> = do_get_body("/parse_cookies", Config), <<"[]">> = do_get_body("/parse_cookies", Config),
@ -205,7 +204,6 @@ parse_header(Config) ->
<<"100-continue">> = do_get_body("/args/parse_header/expect/100-continue", Config), <<"100-continue">> = do_get_body("/args/parse_header/expect/100-continue", Config),
ok. ok.
%% @todo Do we really want a key/value list here instead of a map?
parse_qs(Config) -> parse_qs(Config) ->
doc("Parsed request URI query string."), doc("Parsed request URI query string."),
<<"[]">> = do_get_body("/parse_qs", Config), <<"[]">> = do_get_body("/parse_qs", Config),
@ -347,7 +345,6 @@ do_read_body_timeout(Path, Body, Config) ->
{response, _, 500, _} = gun:await(ConnPid, Ref), {response, _, 500, _} = gun:await(ConnPid, Ref),
gun:close(ConnPid). gun:close(ConnPid).
%% @todo Do we really want a key/value list here instead of a map?
read_urlencoded_body(Config) -> read_urlencoded_body(Config) ->
doc("application/x-www-form-urlencoded request body."), doc("application/x-www-form-urlencoded request body."),
<<"[]">> = do_body("POST", "/read_urlencoded_body", [], <<>>, Config), <<"[]">> = do_body("POST", "/read_urlencoded_body", [], <<>>, Config),