Skip to content

u5surf/tide-condition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tide-condition

Outgoing reduce response body middleware with condition headers for the Tide server framework.

#[async_std::main]
async fn main() -> tide::Result {
    let mut app = tide::new();
    app.with(tide_condition::ConditionMiddleware::new());
}

Features

  • Support for comparing ETag with If-None-Match values
    • if If-None-Match value matches with content entity tags, It only returns 304 response.
  • Sets the ETag headers.
    • ETag is md5 digest of requested contents.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages