net::http_cache

Function create_resource_with_bytes_from_resource

source
fn create_resource_with_bytes_from_resource(
    bytes: &[u8],
    resource: &CachedResource,
) -> CachedResource
Expand description

Create a new resource, based on the bytes requested, and an existing resource, with a status-code of 206.