Skip to main content

create_request

Function create_request 

Source
pub fn create_request(
    bundle: &UploadBundle,
    blob: &BundleBlob<'_>,
    hash: &str,
) -> CreateUploadRequest
Expand description

The POST /upload body for one blob of bundle.

A derivative’s envelope declares its signed (role, format) pair, which the server checks against the closed still-derivative format set on receipt; every other blob declares none, because the server refuses the pair on anything but a derivative.