diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-14 23:20:19 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-14 23:20:19 +0100 |
commit | 3ffe0519e38ecfa43d2b6de87c1592ea88cf008e (patch) | |
tree | 6ef92841495fb9af6da38b5ead71c2d621a018fb | |
parent | 7ec4f4c0f012f072ab064a2f30cfc10e006d76b9 (diff) | |
download | curl-bagder/mimepost-null.tar.gz |
fixup test584 - strip off the random bits from the boundary stringbagder/mimepost-null
-rw-r--r-- | tests/data/test584 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/data/test584 b/tests/data/test584 index 9a67e84c8..891e461fc 100644 --- a/tests/data/test584 +++ b/tests/data/test584 @@ -55,18 +55,22 @@ http://%HOSTIP:%HTTPPORT/584 # # Verify data after the test has been "shot" <verify> +<strippart> +s/^--------------------------[a-z0-9]*/--------------------------/ +s/boundary=------------------------[a-z0-9]*/boundary=------------------------/ +</strippart> <protocol> POST /584 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 144
-Content-Type: multipart/form-data; boundary=------------------------3433323135333231
+Content-Type: multipart/form-data; boundary=------------------------
---------------------------3433323135333231
+--------------------------
Content-Disposition: form-data; name="fake"
party
---------------------------3433323135333231--
+----------------------------
POST /584 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
|