http

index

Overview

HTTP client utilities for requests with TLS/mTLS and redirect following.

Supports Server-Sent Events streaming, URL encoding, HTML entity escaping, and multipart/URL-encoded form body building and parsing.

Delegates to http.request and http.sse for HTTP requests and SSE streaming. Requires lev.run() context.

Submodules

ModuleDescription
http.formsForm body building and parsing utilities: URL encoding, HTML escaping, application/x-www-form-urlencoded and multipart/form-data handling.
http.gitRead-only git smart-HTTP frontend (protocol v0, git-upload-pack only).
http.requestAsync HTTP/1.1 client using the lev event loop.
http.serverCoroutine-per-connection HTTP/1.1 server using LEV async I/O.
http.sseServer-Sent Events (SSE) streaming client using the LEV event loop.
http.urlURL parsing, building, relative resolution, and percent-encoding per RFC 3986.