summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-01-19 12:12:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-01-19 12:12:54 +0000
commitc5796d9e39520f5319bd757cb2a755057cebd4e7 (patch)
tree7bf39edd70c585b9eac728b63d65e6c96746ece5
parentd80f87554cf16e3d69154ea021a940bf1d80f443 (diff)
downloadgnurl-c5796d9e39520f5319bd757cb2a755057cebd4e7.tar.gz
gnurl-c5796d9e39520f5319bd757cb2a755057cebd4e7.tar.bz2
gnurl-c5796d9e39520f5319bd757cb2a755057cebd4e7.zip
--globoff test case
-rw-r--r--tests/data/command28.txt1
-rw-r--r--tests/data/name28.txt1
-rw-r--r--tests/data/prot28.txt5
-rw-r--r--tests/data/reply28.txt5
4 files changed, 12 insertions, 0 deletions
diff --git a/tests/data/command28.txt b/tests/data/command28.txt
new file mode 100644
index 000000000..74a7a6b85
--- /dev/null
+++ b/tests/data/command28.txt
@@ -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
index 000000000..07ea09c0e
--- /dev/null
+++ b/tests/data/name28.txt
@@ -0,0 +1 @@
+--globoff with {][} in URL
diff --git a/tests/data/prot28.txt b/tests/data/prot28.txt
new file mode 100644
index 000000000..73f0425cf
--- /dev/null
+++ b/tests/data/prot28.txt
@@ -0,0 +1,5 @@
+GET /wantit/{}[]/28 HTTP/1.0
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
diff --git a/tests/data/reply28.txt b/tests/data/reply28.txt
new file mode 100644
index 000000000..a732a0d22
--- /dev/null
+++ b/tests/data/reply28.txt
@@ -0,0 +1,5 @@
+HTTP/1.1 200 OK
+Server: fake
+
+{}[] in the URL is not legal
+