When I run my curl command, which accesses my apache module, it periodically adds unicode characters to the end of my response message. I am running Apache on Linux and am running my curl command from both the Linux command line as well as Postman. Sometimes the characters appear before and sometimes after the Connection #0 to host left intact statement. I am including two examples:
example 1:
- Connection #0 to host .com left intact
ufffd1ufffdufffd0)
example 2:
ufffdufffdufffd
,ufffd%ufffdA7ufffdufffdaXufffdjufffdufffdryQufffd_+ufffdufffdufffdufffdufffdufffdufffdufffdufffdqufffd[ufffdcu0246ufffd=u21d1ufffdufffdufffdWu07638ufffdDufffdIufffdufffdAD]B,@%ufffdu0538CufffdXufffdufffdJufffdu0696ufffdufffdpufffd5ufffdufffdufffdufffd8Uufffd]ufffdufffdufffdufffd&ufffd]yufffd(_ufffdufffdufffdufffdufffdufffd0lYuufffdufffd6o0(u067dufffdufffdufffd`ufffdufffdUufffdufffdufffdW
c)ufffd5ufffd@Tufffdufffdkufffdufffd+uae7eW-ufffdufffdufffdu07e1;Z$ufffdUufffdptHKiufffd/:$ufffdufffdRufffd)ufffd* Connection #0 to host .com left intact
ufffd*Wufffdufffdufffd~ufffdufffdufffdufffd9u03c3Mw@ufffdufffd”ufffdufffd8]ufffdufffdufffdufffd(ufffdufffdufffdufffdufffd”ufffd ufffdufffdufffdu05baufffd.ufffdDioufffdufffd3ufffd]2ufffd8ufffdufffdufffdPufffdufffdufffduufffd”ufffdufffdZvufffdg,.ufffdufffdufffdufffd^GkufffdCu049cufffdgEufffdSufffdufffd=/wufffdufffdufffdufffd~1Kufffd(ufffdnufffdufffdufffdufffd; ?’ufffdufffdufffdufffdLufffd ufffdu071bufffdE,Rufffdu026cufffd50)
These lines do not always appear, and since they usually appear after the Connection #0 to host statement, I believe that they are not being sent from my module although I am not sure.
Can anyone suggest what could be causing these elements to appear and what I can do to get rid of them.
I have tried changing my Content-Type and it happens with both text/plain and application/json. My value for charet=UTF-8.
I am not expecting any of these unicode values to exist as they are not (knowingly) part of my responce.