diff options
author | Erlang/OTP <[email protected]> | 2017-11-09 16:15:41 +0100 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2017-11-09 16:15:41 +0100 |
commit | cb3387d9486ed3d8572993cd0e355718026be061 (patch) | |
tree | 5e642a19077addae7131d445c378cb5bcdf168c9 /lib/inets/test/http_format_SUITE.erl | |
parent | 8ceee73b703976cdc09687b4c0efcf2c490c3954 (diff) | |
parent | 07bfe477c0a06fbd7df5e216a7c072594fd17e4d (diff) | |
download | otp-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/http_format_SUITE.erl')
-rw-r--r-- | lib/inets/test/http_format_SUITE.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/inets/test/http_format_SUITE.erl b/lib/inets/test/http_format_SUITE.erl index 9a13ed3d17..647eff4f7c 100644 --- a/lib/inets/test/http_format_SUITE.erl +++ b/lib/inets/test/http_format_SUITE.erl @@ -536,7 +536,10 @@ esi_parse_headers(Config) when is_list(Config) -> httpd_esi:handle_headers(Headers2), {ok,[{"location","/foo/bar.html"}], 302} = - httpd_esi:handle_headers("location:/foo/bar.html\r\n"). + httpd_esi:handle_headers("location:/foo/bar.html\r\n"), + + {ok,[{"location","http://foo/bar.html"}],201} = + httpd_esi:handle_headers("status:201 Created\r\nlocation:http://foo/bar.html\r\n"). %%-------------------------------------------------------------------- cgi_parse_headers() -> |