aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/test/httpd_SUITE.erl
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2017-11-09 16:15:41 +0100
committerErlang/OTP <[email protected]>2017-11-09 16:15:41 +0100
commitcb3387d9486ed3d8572993cd0e355718026be061 (patch)
tree5e642a19077addae7131d445c378cb5bcdf168c9 /lib/inets/test/httpd_SUITE.erl
parent8ceee73b703976cdc09687b4c0efcf2c490c3954 (diff)
parent07bfe477c0a06fbd7df5e216a7c072594fd17e4d (diff)
downloadotp-cb3387d9486ed3d8572993cd0e355718026be061.tar.gz
otp-cb3387d9486ed3d8572993cd0e355718026be061.tar.bz2
otp-cb3387d9486ed3d8572993cd0e355718026be061.zip
Merge branch 'ingela/inets/fix-location/OTP-14761' into maint-20
* ingela/inets/fix-location/OTP-14761: inets: Prepare for release inets: Add missing guard
Diffstat (limited to 'lib/inets/test/httpd_SUITE.erl')
-rw-r--r--lib/inets/test/httpd_SUITE.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/inets/test/httpd_SUITE.erl b/lib/inets/test/httpd_SUITE.erl
index 0c649d9abf..9a85c51d24 100644
--- a/lib/inets/test/httpd_SUITE.erl
+++ b/lib/inets/test/httpd_SUITE.erl
@@ -923,8 +923,11 @@ esi(Config) when is_list(Config) ->
{no_header, "cache-control"}]),
ok = http_status("GET /cgi-bin/erl/httpd_example:peer ",
Config, [{statuscode, 200},
- {header, "peer-cert-exist", peer(Config)}]).
-
+ {header, "peer-cert-exist", peer(Config)}]),
+ ok = http_status("GET /cgi-bin/erl/httpd_example:new_status_and_location ",
+ Config, [{statuscode, 201},
+ {header, "location"}]).
+
%%-------------------------------------------------------------------------
esi_put() ->
[{doc, "Test mod_esi PUT"}].