aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test214
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-15 09:23:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-15 09:23:24 +0000
commitd88b3d3d5d487d0f70230eb6548a843d32836ce2 (patch)
treea6695625eccaba6b00eed200209573cafded5e3b /tests/data/test214
parentf2fb9039bd6b09d75b0fb6f210bccf56fce995d7 (diff)
fixed how backslashes are treated in glob strings
Diffstat (limited to 'tests/data/test214')
-rw-r--r--tests/data/test21443
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/data/test214 b/tests/data/test214
new file mode 100644
index 000000000..8a7405b45
--- /dev/null
+++ b/tests/data/test214
@@ -0,0 +1,43 @@
+#
+# Server-side
+<reply>
+<data>
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Content-Length: 6
+Content-Type: text/html
+Funny-head: yesyes
+
+<foo>
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+http
+</server>
+ <name>
+HTTP URL with escaped { and }
+ </name>
+<command>
+'http://%HOSTIP:%HTTPPORT/\{\}\/214'
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<protocol>
+GET /{}\/214 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Pragma: no-cache
+Accept: */*
+
+</protocol>
+
+</verify>