I am trying to upload files using the FileReference class. Files >2MB all work correctly but files <2MB cause this error:
\"java.io.IOException: Co
The reason of this is because the request is been sent with a "Transfer Encoding: chunked" header, instead of a Content-length header. Many servers don't understand chunked content, and neither does o'reilly. Check with a sniffer if your request is been send with the Transfer encoding header. I don't know any solution for this.