Skip to main content

store_http_bytes

Function store_http_bytes 

Source
pub fn store_http_bytes(
    store: &Store,
    url: &str,
    bytes: &[u8],
    etag: Option<String>,
    last_modified: Option<String>,
) -> Result<Stored, StoreError>
Expand description

Assemble HTTP provenance from already-downloaded bytes + optional caching headers and store via a synthesized manifest. Offline — no network.