DOCS v0.1.13 github

@hatch:http v0.3.2

HTTP/1.1 client with TLS, streaming bodies, and fiber-cooperative reads.

stable networking updated May 2, 2026 source ↗
README
$ hatch add @hatch:http

MOD http

CL Response

NEW Response.new_(status, headers, body)

GET Response.status

GET Response.body

GET Response.headerMap

GET Response.ok

GET Response.json

GET Response.toString

FN Response.header(name)

FN Response.headers(name)

FN Response.static lower_(s)

CL StreamingResponse

NEW StreamingResponse.new_(id, status, headers)

GET StreamingResponse.status

GET StreamingResponse.headerMap

GET StreamingResponse.body

GET StreamingResponse.bodyAsync

GET StreamingResponse.ok

GET StreamingResponse.close

GET StreamingResponse.toString

FN StreamingResponse.header(name)

FN StreamingResponse.headers(name)

CL Http

FN Http.static get(url)

FN Http.static get(url, options)

FN Http.static post(url, options)

FN Http.static put(url, options)

FN Http.static patch(url, options)

FN Http.static delete(url)

FN Http.static delete(url, options)

FN Http.static head(url)

FN Http.static request(method, url, options)

FN Http.static stream(method, url)

FN Http.static stream(method, url, options)

FN Http.static getStream(url)

FN Http.static getStream(url, options)

FN Http.static prepare_(method, url, options, label)

FN Http.static setIfAbsent_(headers, name, value)