I am having an issue on linux when sending post requests via the WebInputStream class. The linux specific implementation seems to be adding in an extra “\r\n” after my headers which causes my content-length parameter to be wrong and decoding to display an incorrect body.
On line 528 of juce_Network_linux.cpp we get this:
header << "\r\n\r\n";
which when changing to:
header << "\r\n";
fixes the issue. Is there any reason this has a double ending?