aboutsummaryrefslogtreecommitdiffstats
path: root/test/rfc7231_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/rfc7231_SUITE.erl')
-rw-r--r--test/rfc7231_SUITE.erl18
1 files changed, 10 insertions, 8 deletions
diff --git a/test/rfc7231_SUITE.erl b/test/rfc7231_SUITE.erl
index fac9903..2bd5bb1 100644
--- a/test/rfc7231_SUITE.erl
+++ b/test/rfc7231_SUITE.erl
@@ -150,14 +150,16 @@ method_delete(Config) ->
{ok, <<"DELETE">>} = gun:await_body(ConnPid, Ref),
ok.
-method_connect(Config) ->
- doc("The CONNECT method is currently not implemented. (RFC7231 4.3.6)"),
- ConnPid = gun_open(Config),
- Ref = gun:request(ConnPid, <<"CONNECT">>, "localhost:8080", [
- {<<"accept-encoding">>, <<"gzip">>}
- ]),
- {response, fin, 501, _} = gun:await(ConnPid, Ref),
- ok.
+%% @todo This test is currently broken because Gun does not
+%% send a proper CONNECT request.
+%method_connect(Config) ->
+% doc("The CONNECT method is currently not implemented. (RFC7231 4.3.6)"),
+% ConnPid = gun_open(Config),
+% Ref = gun:request(ConnPid, <<"CONNECT">>, "localhost:8080", [
+% {<<"accept-encoding">>, <<"gzip">>}
+% ]),
+% {response, fin, 501, _} = gun:await(ConnPid, Ref),
+% ok.
% A client sending a CONNECT request MUST send the authority form of
% request-target (Section 5.3 of [RFC7230]); i.e., the request-target