POST /file/upload HTTP/1.1
Host: <destinationHost>[:<destinationPort>]
Origin: http://<formHost>[:<formPort>]
Content-Length: <contentLength>
Content-Type: multipart/form-data; boundary=<dataBoundary>
...
<dataBoundary>
Content-Disposition: form-data; name="Filedata"; filedata="<baseName>"
Content-Type: <contentType>
<fileData>
<dataBoundary>
...
returnContent is provided
...
<dataBoundary>
Content-Disposition: form-data; name="returnContent"
<returnContent>
...
context is provided
...
<dataBoundary>
Content-Disposition: form-data; name="context"
<context>
...
MAX_FILE_SIZE is specified
...
<dataBoundary>
Content-Disposition: form-data; name="MAX_FILE_SIZE"
<maxFileSize>
...
Types and values:
destinationHost = <string>
destinationPort = <number> OPTIONAL (do not provide the preceding colon if not specified)
formHost = <string>
formPort = <number> OPTIONAL (do not provide the preceding colon if not specified)
contentLength = <number>
dataBoundary = <string>
maxFileSize = <number> (maximum size allowed for an uploaded file; It is best to check this on the client first if possible)
fileData = <string>
baseName = <string>
returnContent = <string> "false" | "true" DEFAULT "false"
context = <string> "auditfile" | "tailoringfile"