[go: up one dir, main page]

Crate hoot

source
Expand description

Sans-IO HTTP/1.1 library.

hoot is a library that implements the HTTP/1.1 protocol without considering transport. The goal is to make a first class HTTP/1.1 implementation that can be used in other projects that add socket handling, cookies, body compression, JSON etc.

§In scope:

  • First class HTTP/1.1 protocol implementation
  • Indication of connection states (such as when a connection must be closed)
  • transfer-encoding: chunked
  • Redirect handling (building URI and amending requests)

§Out of scope:

  • Opening/closing sockets
  • TLS (https)
  • Cookie jars
  • Authorization
  • Body data transformations (charset, compression etc)

The project is run as a companion project to ureq, specifically the ureq 3.x rewrite

§The http crate

hoot is based on the http crate - a unified HTTP API for Rust.

Re-exports§

Modules§

Enums§