Skip to main content

Module rfc1945

Module rfc1945 

Source
Expand description

HTTP/1.0 message syntax (RFC 1945).

I/O-free coroutines implementing the HTTP/1.0 wire protocol: no sockets, no async runtime, no std. Shared types live in crate::rfc9110.

Differences from HTTP/1.1 (crate::rfc9112):

  • No chunked transfer encoding (Transfer-Encoding is undefined).
  • Connections close after each request by default.
  • Host header is not mandatory.

Modules§

request
HTTP/1.0 request serialisation onto the wire (RFC 1945 §4).
send
I/O-free coroutine sending an HTTP/1.0 request and receiving its response (RFC 1945).
version
HTTP/1.0 version string constant (RFC 1945 §3.1).