Added by barteau over 14 years ago
Modified method "doMetadataUpload". Improved file type parsing. Also changed call to "upload", to send Integer.MAX_VALUE as the file size,
since file size is not available until read (i.e. "Content-Length", which is available, isn't the same as the individual file sizes).
This serves as a flag in the existing code in the method "sendDataOnce" and in the method "MulitipartForm.writeEncodedMultipartForm".