diff --git a/sonic3air-main/framework/external/curl/curl/tests/data/test1430 b/sonic3air-main/framework/external/curl/curl/tests/data/test1430 new file mode 100644 index 00000000..5a521a3c --- /dev/null +++ b/sonic3air-main/framework/external/curl/curl/tests/data/test1430 @@ -0,0 +1,56 @@ + + + +HTTP +HTTP GET + + + + + +HTTP/1.1 -12 OK +Date: Tue, 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: 6 +Connection: close +Content-Type: text/html +Funny-head: yesyes + +-foo- + + + +# +# Client-side + + +http + + +HTTP GET with negative response code + + +http://%HOSTIP:%HTTPPORT/%TESTNUMBER + + + +# +# Verify data after the test has been "shot" + + +GET /%TESTNUMBER HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +User-Agent: curl/%VERSION +Accept: */* + + +# 1 - CURLE_UNSUPPORTED_PROTOCOL +# Due to invalid HTTP response code + +1 + + + diff --git a/sonic3air-main/framework/external/curl/curl/tests/data/test1431 b/sonic3air-main/framework/external/curl/curl/tests/data/test1431 new file mode 100644 index 00000000..27e5c4f0 --- /dev/null +++ b/sonic3air-main/framework/external/curl/curl/tests/data/test1431 @@ -0,0 +1,54 @@ + + + +HTTP +HTTP GET + + + + + +HTTP/1.1 2 OK +Date: Tue, 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: 6 +Connection: close +Content-Type: text/html +Funny-head: yesyes + +-foo- + + + +# +# Client-side + + +http + + +HTTP GET with single-digit response code + + +http://%HOSTIP:%HTTPPORT/%TESTNUMBER + + + +# +# Verify data after the test has been "shot" + + +GET /%TESTNUMBER HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +User-Agent: curl/%VERSION +Accept: */* + + + +1 + + + diff --git a/sonic3air-main/framework/external/curl/curl/tests/data/test1432 b/sonic3air-main/framework/external/curl/curl/tests/data/test1432 new file mode 100644 index 00000000..824e9e5a --- /dev/null +++ b/sonic3air-main/framework/external/curl/curl/tests/data/test1432 @@ -0,0 +1,55 @@ + + + +HTTP +HTTP GET + + + + + +HTTP/1.1 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 OK +Date: Tue, 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: 6 +Connection: close +Content-Type: text/html +Funny-head: yesyes + +-foo- + + + +# +# Client-side + + +http + + + +HTTP GET with 100-digit response code and survive + + +http://%HOSTIP:%HTTPPORT/%TESTNUMBER + + + +# +# Verify data after the test has been "shot" + + +GET /%TESTNUMBER HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +User-Agent: curl/%VERSION +Accept: */* + + + +1 + + + diff --git a/sonic3air-main/framework/external/curl/curl/tests/data/test1433 b/sonic3air-main/framework/external/curl/curl/tests/data/test1433 new file mode 100644 index 00000000..064782a8 --- /dev/null +++ b/sonic3air-main/framework/external/curl/curl/tests/data/test1433 @@ -0,0 +1,55 @@ + + + +HTTP +HTTP GET + + + + + +HTTP/1.0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 200 OK +Date: Tue, 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: 6 +Connection: close +Content-Type: text/html +Funny-head: yesyes + +-foo- + + + +# +# Client-side + + +http + + + +HTTP GET with 100-digit subversion number in response + + +http://%HOSTIP:%HTTPPORT/%TESTNUMBER + + + +# +# Verify data after the test has been "shot" + + +GET /%TESTNUMBER HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +User-Agent: curl/%VERSION +Accept: */* + + + +1 + + + diff --git a/sonic3air-main/framework/external/curl/curl/tests/data/test1434 b/sonic3air-main/framework/external/curl/curl/tests/data/test1434 new file mode 100644 index 00000000..8a426630 --- /dev/null +++ b/sonic3air-main/framework/external/curl/curl/tests/data/test1434 @@ -0,0 +1,88 @@ + + + +HTTP +HTTP GET +Resume + + + +# Server-side + +# Some servers (e.g. Apache 1.2) respond this way to an invalid byte range + +HTTP/1.1 200 OK +Connection: close +Content-Length: 100 +Content-Type: text/plain + +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 + + +# The file data that exists at the start of the test must be included in +# the verification. + +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +HTTP/1.1 200 OK +Connection: close +Content-Length: 100 +Content-Type: text/plain + + + + +# Client-side + + +http + + +HTTP GET resume at exactly the existing file size is fine + + +http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 100 + + +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 + + + +# Verify data after the test has been "shot" + + +GET /%TESTNUMBER HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Range: bytes=100- +User-Agent: curl/%VERSION +Accept: */* + + + + diff --git a/sonic3air-main/framework/external/curl/curl/tests/data/test1435 b/sonic3air-main/framework/external/curl/curl/tests/data/test1435 new file mode 100644 index 00000000..449b0b64 --- /dev/null +++ b/sonic3air-main/framework/external/curl/curl/tests/data/test1435 @@ -0,0 +1,44 @@ + + + +HTTP +HTTP GET +unix sockets + + + + + +HTTP/1.1 200 OK +Date: Sun, 16 Nov 2014 23:47:38 GMT +Content-Length: 17 + +Based on test300 + + + + + +unix-sockets + + +http-unix + + +simple HTTP GET over Unix socket + + +--unix-socket %HTTPUNIXPATH http://server-interpreted.example.com/%TESTNUMBER + + + + + +GET /%TESTNUMBER HTTP/1.1 +Host: server-interpreted.example.com +User-Agent: curl/%VERSION +Accept: */* + + + +