]> granicus.if.org Git - curl/commitdiff
--globoff test case
authorDaniel Stenberg <daniel@haxx.se>
Fri, 19 Jan 2001 12:12:54 +0000 (12:12 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 19 Jan 2001 12:12:54 +0000 (12:12 +0000)
tests/data/command28.txt [new file with mode: 0644]
tests/data/name28.txt [new file with mode: 0644]
tests/data/prot28.txt [new file with mode: 0644]
tests/data/reply28.txt [new file with mode: 0644]

diff --git a/tests/data/command28.txt b/tests/data/command28.txt
new file mode 100644 (file)
index 0000000..74a7a6b
--- /dev/null
@@ -0,0 +1 @@
+--globoff http://%HOSTIP:%HOSTPORT/wantit/{}[]/28
diff --git a/tests/data/name28.txt b/tests/data/name28.txt
new file mode 100644 (file)
index 0000000..07ea09c
--- /dev/null
@@ -0,0 +1 @@
+--globoff with {][} in URL
diff --git a/tests/data/prot28.txt b/tests/data/prot28.txt
new file mode 100644 (file)
index 0000000..73f0425
--- /dev/null
@@ -0,0 +1,5 @@
+GET /wantit/{}[]/28 HTTP/1.0\r
+Host: 127.0.0.1:8999\r
+Pragma: no-cache\r
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
+\r
diff --git a/tests/data/reply28.txt b/tests/data/reply28.txt
new file mode 100644 (file)
index 0000000..a732a0d
--- /dev/null
@@ -0,0 +1,5 @@
+HTTP/1.1 200 OK
+Server: fake
+
+{}[] in the URL is not legal
+