aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-02-07 09:39:50 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-02-07 09:43:36 +0100
commit9597f7dfbc95564b0c19b7d7226cbab4e0144aaf (patch)
tree78f221300edffaacde0563d937be923cb2a98dbc /tests/data
parent7969a777350b41751560689cb94ea9bbb8f89e32 (diff)
formpost: use semicolon in multipart/mixed
Not comma, which is an inconsistency and a mistake probably inherited from the examples section of RFC1867. This bug has been present since the day curl started to support multipart formposts, back in the 90s. Reported-by: Rob Davies Bug: http://curl.haxx.se/bug/view.cgi?id=1333
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test11334
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test1133 b/tests/data/test1133
index 733793114..8b016fc14 100644
--- a/tests/data/test1133
+++ b/tests/data/test1133
@@ -40,7 +40,7 @@ foo
# Verify data after the test has been "shot"
<verify>
<strip>
-^(User-Agent:|Content-Type: multipart/form-data;|Content-Type: multipart/mixed, boundary=|-------).*
+^(User-Agent:|Content-Type: multipart/form-data;|Content-Type: multipart/mixed; boundary=|-------).*
</strip>
<protocol>
POST /we/want/1133 HTTP/1.1
@@ -71,7 +71,7 @@ foo
------------------------------24e78000bd32
Content-Disposition: form-data; name="file3"
-Content-Type: multipart/mixed, boundary=----------------------------7f0e85a48b0b
+Content-Type: multipart/mixed; boundary=----------------------------7f0e85a48b0b
Content-Disposition: attachment; filename="test1133,a\"nd;.txt"
Content-Type: m/f