diff options
author | Elliott Hughes <enh@google.com> | 2018-03-01 00:30:00 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-03-01 00:30:00 +0000 |
commit | 0c6d81f80bf942993566564f6efb1de2ab1d836b (patch) | |
tree | ba15caf6905acc99ac3fbab158d7bf2fb0364a21 /tests/data/test395 | |
parent | f9711a93659ab05f72b38dbdfbc475b797042693 (diff) | |
parent | 0128fe4043cdbb72cc0c5b8f817749e3f89a7b36 (diff) | |
download | android_external_curl-0c6d81f80bf942993566564f6efb1de2ab1d836b.tar.gz android_external_curl-0c6d81f80bf942993566564f6efb1de2ab1d836b.tar.bz2 android_external_curl-0c6d81f80bf942993566564f6efb1de2ab1d836b.zip |
Merge "Update to 7.58.0 - January 24 2018."
Diffstat (limited to 'tests/data/test395')
-rw-r--r-- | tests/data/test395 | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/data/test395 b/tests/data/test395 new file mode 100644 index 0000000..2a569bf --- /dev/null +++ b/tests/data/test395 @@ -0,0 +1,55 @@ +<testcase> +<info> +<keywords> +HTTP +HTTP GET +</keywords> +</info> + +# +# Server-side +<reply> +<data nocheck="yes"> +HTTP/1.1 200 OK swsclose +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT +ETag: "21025-dc7-39462498" +Accept-Ranges: bytes +Content-Length: 36893488147419103232 +Connection: close +Content-Type: text/html +Funny-head: yesyes + +-foo- +</data> +</reply> + +# +# Client-side +<client> +<server> +http +</server> + <name> +HTTP and out-of-range Content-Length + </name> + <command> +http://%HOSTIP:%HTTPPORT/395 +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<strip> +^User-Agent:.* +</strip> +<protocol> +GET /395 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+
+</protocol> +</verify> +</testcase> |