Details
-
Type:
Task
-
Status: Done
-
Priority:
(None)
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Sprint:MEN Sprint 101
-
Story Points:3
-
Epic Link:
-
Backlog:yes
-
Days in progress:1
Description
We want the client to be able to upload live running rootfs snapshots to the server. As we don't necessarily know the size of the uploaded image prior to uploading, we will need to use chunked transfer encoding. However, we may also need the option to pass mender artifact metadata and checksum of the transferred data in the payload. Hence, we will need an HTTP form.
Acceptance criterion:
- Decide on how to pass artifact parameters to the endpoint along with the binary payload (i.e. as header key value pairs or request preamble)