aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/test/http_format_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-11-10 15:41:10 +0100
committerIngela Anderton Andin <[email protected]>2017-11-10 15:41:10 +0100
commit50e7caee08df7923a9a0b044660a504d5f6311bc (patch)
treee0e791ca688d76eadcd85de7970b745edbd50014 /lib/inets/test/http_format_SUITE.erl
parent494724da87d40c1f083be9451e5098ae2fb89759 (diff)
parent3fb3067d953f8be9fe66d3a6687a86be2e8d2f3f (diff)
downloadotp-50e7caee08df7923a9a0b044660a504d5f6311bc.tar.gz
otp-50e7caee08df7923a9a0b044660a504d5f6311bc.tar.bz2
otp-50e7caee08df7923a9a0b044660a504d5f6311bc.zip
Merge branch 'maint'
* maint: Updated OTP version Update release notes Update version numbers inets: Prepare for release inets: Add missing guard Avoid WindowBits=8 as per the manual Fix deflateParams on zlib 1.2.11 Ignore empty binaries in enif_inspect_iovec Emasculate writable binaries on entering an iovec Only apply EOS behaviors if there's pending data Conflicts: OTP_VERSION
Diffstat (limited to 'lib/inets/test/http_format_SUITE.erl')
-rw-r--r--lib/inets/test/http_format_SUITE.erl5
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() ->