Ask a Question

Content-Transfer-Encoding type quoted-printable adds equals (=) symbols web service cannot process

jalanstrom
Occasional Contributor

Content-Transfer-Encoding type quoted-printable adds equals (=) symbols web service cannot process

Due to the length of the content in the request, SoapUI Open Source is automatically setting the Content-Transfer-Encoding type to printed-quotable. 

 

Link to request text: https://gist.github.com/jalanstrom/ed71aa1c8d32a59ece07b6e063f9e041

 

Unfortunately, the application is expecting JSON content in that part of the request, so it's rejecting the request because of those equals (=) signs.

 

Link to response text: https://gist.github.com/jalanstrom/a6d6ea336e992c956b0c9200cfcdd7d9

 

When using Content-Transfer-Encoding type is 7bit, the request completes fine (link to request text: https://gist.github.com/jalanstrom/e20273c4322eb8c7c31d3a6199fa49be). But as soon as I go over a certain content limit, SoapUI is automatically changing the type to quote-printable.

 

Unfortunately I have yet to find any way to modify the Content-Transfer-Encoding type to something suitable (base64? binary?) that won't add the extra characters that drive my REST service crazy. 

 

Thanks for any help!!

15 REPLIES 15
nmrao
Community Hero

Is that you sending an attachment with binarydata?


Regards,
Rao.
jalanstrom
Occasional Contributor

 

@nmrao wrote:
Is that you sending an attachment with binarydata?

The second part of the multipart request is a file attachment.

nrtapia
New Member

Hello.

 

I have the same problem. Could you solve the problem?

 

Thanks

nisanik
New Contributor

Hello, 

 

we are working on new POC for SoapUI (on REST project) , 
However we facing this issue and it's blocking us.
I am sending a REST multypart post request and attaching binary file.

one of the parameter is a long (~2000 characters) Json string.

SouUI define the content transfer to : "quoted printable" and cut cut to new line after 66 characters and add (=).

 

What am i missing here ? any suggested Work Around  ?

Thanks  

nisanik
New Contributor


@nmrao wrote:
Is that you sending an attachment with binarydata?


Hello, 

 

we are working on new POC for SoapUI (on REST project) , 
However we facing this issue and it's blocking us.
I am sending a REST multypart post request and attaching binary file.

one of the parameter is a long (~2000 characters) Json string.

SouUI define the content transfer to : "quoted printable" and cut cut to new line after 66 characters and add (=).

 

What am i missing here ? any suggested Work Around  ?

Thanks  

EladR
New Contributor

We are suffering from the same issue as nisanik raise. In case I won't be able to solve it - another alternative for testing tool will be considered.
Please your important advice to solve this
EladR
New Contributor

Hello nmrao,

Yes - we are sending an image (binarydata)

nmrao
Community Hero

Could not really imagine the issue. Possible to have a screen shot or short screencast ?


Regards,
Rao.
EladR
New Contributor

Thanks for your response,
Imagine JSON file with ~2000 characters splitted into lines.
Each line contains 66 characters and ends with "=" (equal) sign.
Appriviate your support.
Best Regards, Elad
cancel
Showing results for 
Search instead for 
Did you mean: