Hey guys -
Just figured out that when uploading a file, the juce_URL class does not add Content-Length to the header (in URL::createHeadersAndPostData).
This causes an issue with some web applications that seem to expect it.
Simply copying/moving the following line (534 or so) in that file resolves the issue.
headers << "Content-length: " << (int) data.getDataSize() << "\r\n";
That line should be executed whether or not a file is attached.
I’m no HTTP expert, so let me know if I’m wrong here ![]()
