From bd5b9e50ce10e75048c3f584b2c7784d31504f0c Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Fri, 26 Jan 2018 17:45:20 +0100 Subject: 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 --- tests/data/test555 | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/data') 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 ^User-Agent: curl/.* - -# 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) - POST http://test.remote.example.com/path/555 HTTP/1.1 Host: test.remote.example.com -- cgit v1.2.3