#Files Uploader
This Project is to create prototype uploaders either a browser or or an independent user agent. There are two clients: browser and cmd line and one server.
There are three different protocols being tried:
- HTTP1/1
- HTTP/2
- WebSockets
##General Workflow
-
Select one or more files to upload
-
Send one file at a time either as a whole or in chunks.
-
The server receives the file as one or more chunks and stores it in a DICOM file system using the standard naming convention.
-
Request
POST SP /dicom/store/{study} SP version Content-Type: [application/dicom, application/json, application/dicom+xml] Accept: 'text/utf-8' [Range: bytes = start-end] payload
-
Response
HTTP/1.1 SP status SP reason payload
where payload is a UTF-8 message confirming the receipt
- The Client divides the files into one or more parts and sends them to the server.
- Version: only test
The server is in the /bin director and can be run in WebStorm.
- Download project
- Open in WebStorm
- Run it
- Client works with the server uploaderserver