diff options
author | Ingela Anderton Andin <[email protected]> | 2015-12-01 10:04:58 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-12-01 10:04:58 +0100 |
commit | c3d8abd51baafd992bddba8988ebb901eba0d072 (patch) | |
tree | b1202c6e914b4a791931bb0ce4752d29dba5cabf /lib/inets/test/httpd_1_1.erl | |
parent | 49daa385517010dd03dc5de6b37265eb06d59c5a (diff) | |
parent | 552818fd16f1a842e5d206d43bb442de685356da (diff) | |
download | otp-c3d8abd51baafd992bddba8988ebb901eba0d072.tar.gz otp-c3d8abd51baafd992bddba8988ebb901eba0d072.tar.bz2 otp-c3d8abd51baafd992bddba8988ebb901eba0d072.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/inets/test/httpd_1_1.erl')
-rw-r--r-- | lib/inets/test/httpd_1_1.erl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/inets/test/httpd_1_1.erl b/lib/inets/test/httpd_1_1.erl index dd9d21bbfc..db6def9d17 100644 --- a/lib/inets/test/httpd_1_1.erl +++ b/lib/inets/test/httpd_1_1.erl @@ -24,7 +24,7 @@ -include_lib("kernel/include/file.hrl"). -export([host/4, chunked/4, expect/4, range/4, if_test/5, trace/4, - head/4, mod_cgi_chunked_encoding_test/5]). + head/4, mod_cgi_chunked_encoding_test/5, mod_esi_chunk_timeout/4]). %% -define(all_keys_lower_case,true). -ifndef(all_keys_lower_case). @@ -274,6 +274,15 @@ mod_cgi_chunked_encoding_test(Type, Port, Host, Node, [Request| Rest])-> [{statuscode, 200}]), mod_cgi_chunked_encoding_test(Type, Port, Host, Node, Rest). + +mod_esi_chunk_timeout(Type, Port, Host, Node) -> + ok = httpd_test_lib:verify_request(Type, Host, Port, Node, + "GET /cgi-bin/erl/httpd_example/chunk_timeout?input=20000 HTTP/1.1\r\n" + "Host:"++ Host ++"\r\n" + "\r\n", + [{statuscode, 200}, + {header, "warning"}]). + %%-------------------------------------------------------------------- %% Internal functions %%-------------------------------------------------------------------- |