The xhtmlrequest generated by PROTO.upload() is being rejected by apache, without any response or error. The request does not show up in the access.log either.
Could be related to the ContentType, since it's using multipart/form-data without boundary
DocMGR 1.2.2 (but tested with PROTO.js off DocMGR 1.2.3 as well)
Accept-Encoding gzip, deflate
If-Modified-Since Mon, 26 Jul 1997 05:00:00 GMT
User-Agent Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1
Runnign a wireshark over the communication between the server and the client I can confirm that the browswer starts sending the file, but the server closes the connection after receiving the first bytes.
It was indeed the weird Content-Type, removing it solved our problems.
If you have the same problem, comment the following lines:
* "jslib/proto.js" line 818
* "apilib/lib/docmgr/file.php" line 28