I am returning binary data from a servlet (ocsp response data), and I try to save it in my testcase using WebResponse.getInputStream(), but the data seems to get corrupted, i.e. translated to ascii. Other clients such as openssl gets the data correct.
This is only on windows as well, on linux the data seemed correct.
Regards,
Tomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am returning binary data from a servlet (ocsp response data), and I try to save it in my testcase using WebResponse.getInputStream(), but the data seems to get corrupted, i.e. translated to ascii. Other clients such as openssl gets the data correct.
This is only on windows as well, on linux the data seemed correct.
Regards,
Tomas