rusty-cat 0.2.2

Async HTTP client for resumable file upload and download.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub(crate) const BLOCK_ID_WIDTH: usize = 8;
pub(crate) const QUERY_COMP: &str = "comp";
pub(crate) const QUERY_BLOCK_ID: &str = "blockid";
pub(crate) const QUERY_VALUE_BLOCK: &str = "block";
pub(crate) const QUERY_VALUE_BLOCK_LIST: &str = "blocklist";
pub(crate) const HEADER_CONTENT_TYPE: &str = "content-type";
pub(crate) const CONTENT_TYPE_APPLICATION_XML: &str = "application/xml";
pub(crate) const XML_DECLARATION_AND_BLOCK_LIST_OPEN: &str =
    "<?xml version=\"1.0\" encoding=\"utf-8\"?><BlockList>";
pub(crate) const XML_BLOCK_LIST_CLOSE: &str = "</BlockList>";
pub(crate) const XML_LATEST_OPEN: &str = "<Latest>";
pub(crate) const XML_LATEST_CLOSE: &str = "</Latest>";