weida

GitHub crates.io

HTTP

A standalone protocol library; parity document docs/libraries/http.md. Derived from weida at 92c768a.

Languages

Rust C Erlang and Elixir Go JavaScript JVM and Android Python SwiftHTTPRust, HTTP: present 1/1 the library crates are Rust1/1C, HTTP: absent 0/0 no C binding of HTTPabsentErlang and Elixir, HTTP: absent 0/0 no Erlang and Elixir binding of HTTPabsentGo, HTTP: absent 0/0 no Go binding of HTTPabsentJavaScript, HTTP: absent 0/0 no JavaScript binding of HTTPabsentJVM and Android, HTTP: absent 0/0 no JVM and Android binding of HTTPabsentPython, HTTP: absent 0/0 no Python binding of HTTPabsentSwift, HTTP: absent 0/0 no Swift binding of HTTPabsent

Crates

CrateRolecrates.io
weida-http-codeccodec0.1.0-alpha.16
weida-httpclient and server0.1.0-alpha.16

Reference and status

Reference implementation
hyper 1.12.0 (HTTP/1.1, HTTP/2) and h3 0.0.8 on h3-quinn 0.0.10 (HTTP/3), all run in both roles; curl 8.23.0 as a smoke
Status
complete against 0013 §4.7's six clauses. Covers: HTTP/1.1, HTTP/2 over TLS by ALPN and HTTP/3 over QUIC (feature h3), client and pull-style server, chunked bodies, trailers, 100-continue, pipelined answers, flow control, GOAWAY, credentials never compressed or printed. Does not cover: redirects, cookies, content coding, proxies, Alt-Svc, h2c, server push, CONNECT/Upgrade/WebSocket, the QPACK dynamic table (0044 §6), and a Python binding (B-371)

Decisions

  1. 0013 — Standalone foreign-protocol libraries beside weida
  2. 0044 — weida-http: HTTP as the sixth protocol family