HomePhabricator
Diffusion Comm c6c35c02c58e

[services][blob] Add upload blob HTTP handler

Description

[services][blob] Add upload blob HTTP handler

Summary:
This diff implements blob uploading using multipart/form-data. Details are in the linear task.

Depends on D7482

Test Plan:
Used Postman client to upload a large file (more than 5MB to exceed the single S3 part limit). The file was uploaded successfully.
Also checked failure cases: already existing blob hash, invalid form-data field order, missing fields.

Reviewers: marcin, tomek, michal, jon

Reviewed By: marcin, jon

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D7483

Details

Provenance
bartekAuthored on Apr 17 2023, 7:24 AM
Reviewer
marcin
Differential Revision
D7483: [services][blob] Add upload blob HTTP handler
Parents
rCOMMb33fc5ca590b: [services][blob] Add assign holder HTTP endpoint
Branches
Unknown
Tags
Unknown