pub trait HeaderFieldsExt {
// Required methods
fn get_contentlength(&self) -> Result<Option<u64>>;
fn set_contentlength(&mut self, length: u64);
}👎Deprecated: This crate has been renamed to http_tiny; you’re using an outdated version
Expand description
Some convenience extensions for HeaderFields
Required Methods§
Sourcefn get_contentlength(&self) -> Result<Option<u64>>
👎Deprecated: This crate has been renamed to http_tiny; you’re using an outdated version
fn get_contentlength(&self) -> Result<Option<u64>>
Gets the content length
Sourcefn set_contentlength(&mut self, length: u64)
👎Deprecated: This crate has been renamed to http_tiny; you’re using an outdated version
fn set_contentlength(&mut self, length: u64)
Sets the content length