diff options
author | Ingela Anderton Andin <[email protected]> | 2014-03-04 17:21:24 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-03-18 14:22:01 +0100 |
commit | e05fad475eeaff14175ac4d705a288888714192a (patch) | |
tree | f018706578820257fb3d38f73ba7b251ef47d6c7 /lib/inets/test/httpd_1_0.erl | |
parent | 2562f9e15459a5d0152adfcce36ab632cc8e8afd (diff) | |
download | otp-e05fad475eeaff14175ac4d705a288888714192a.tar.gz otp-e05fad475eeaff14175ac4d705a288888714192a.tar.bz2 otp-e05fad475eeaff14175ac4d705a288888714192a.zip |
inets: Enable https tests
Diffstat (limited to 'lib/inets/test/httpd_1_0.erl')
-rw-r--r-- | lib/inets/test/httpd_1_0.erl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/inets/test/httpd_1_0.erl b/lib/inets/test/httpd_1_0.erl index 53f23b12e0..0836c9e881 100644 --- a/lib/inets/test/httpd_1_0.erl +++ b/lib/inets/test/httpd_1_0.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2013-2013. All Rights Reserved. +%% Copyright Ericsson AB 2013-2014. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -20,7 +20,7 @@ -module(httpd_1_0). --export([host/4]). +-export([host/4, trace/4]). %%------------------------------------------------------------------------- %% Test cases @@ -31,3 +31,8 @@ host(Type, Port, Host, Node) -> "GET / HTTP/1.0\r\n\r\n", [{statuscode, 200}, {version, "HTTP/1.0"}]). +trace(Type, Port, Host, Node)-> + ok = httpd_test_lib:verify_request(Type, Host, Port, Node, + "TRACE / HTTP/1.0\r\n\r\n", + [{statuscode, 501}, + {version, "HTTP/1.0"}]). |