summaryrefslogtreecommitdiff
path: root/tests/data/test555
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick@monnerat.net>2018-01-26 17:45:20 +0100
committerPatrick Monnerat <patrick@monnerat.net>2018-01-26 17:45:20 +0100
commitbd5b9e50ce10e75048c3f584b2c7784d31504f0c (patch)
tree4f7e01c14d217f69de30b58c7a3212c396bd5a20 /tests/data/test555
parenta6b611f0d01aff9d0d0d411928c9103c8036af75 (diff)
downloadcurl-bd5b9e50ce10e75048c3f584b2c7784d31504f0c.tar.gz
lib555: drop text conversion and encode data as ascii codes
If CURL_DOES_CONVERSION is enabled, uploaded LFs are mapped to CRLFs, giving a result that is different from what is expected. This commit avoids using CURLOPT_TRANSFERTEXT and directly encodes data to upload in ascii. Bug: https://github.com/curl/curl/pull/1872
Diffstat (limited to 'tests/data/test555')
-rw-r--r--tests/data/test5554
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/data/test555 b/tests/data/test555
index 3aa2ef14a..18bbc43c0 100644
--- a/tests/data/test555
+++ b/tests/data/test555
@@ -106,10 +106,6 @@ chkhostname curlhost
<strip>
^User-Agent: curl/.*
</strip>
-<strippart>
-# remove CR that CURLOPT_TRANSFERTEXT added, when CharConv enabled:
-s/^(this is the blurb we want to upload)\r\n/$1\n/ if($has_charconv)
-</strippart>
<protocol>
POST http://test.remote.example.com/path/555 HTTP/1.1
Host: test.remote.example.com