Skip to main content

qualia_core_db/bundle/stream/http/
mod.rs

1//! HTTP/1.1 compatibility binding for the same authenticated QBDL objects as
2//! native service. Headers are the adapter surface. Bodies stay exact
3//! representation bytes. JSON is not an application object. HTTP status is not
4//! a grant. TLS/Web PKI is not PQ publisher authority.
5//!
6//! Integrator adds `mod http;` in `bundle/stream/mod.rs`. HTTP/2 and HTTP/3
7//! reuse these semantics when a selected client supports them; they are not
8//! native dependencies of this module.
9mod range;
10mod status;
11mod client;
12mod provider;
13mod mixed;
14mod wss_mixed;
15
16pub use client::{
17    get_range, tls_is_pq_publisher_authority, url_has_userinfo, ClientError, FetchBudget, Fetched,
18    LigGate, RangeRequest, HEADER_CAP,
19};
20pub use mixed::{
21    bind_http_entry, entry_admits_family, entry_slice, serve_scheduled, BoundHttpEntry, HttpMux,
22    HttpMuxReport, ServedObject,
23};
24pub use provider::{
25    serve_proof_into, write_http_head, write_object_path, HttpObject, HttpProvider, ProviderError,
26    ServeOptions, Served, ServedHeaders,
27};
28pub use range::{
29    content_type_is_multipart, encoding_is_identity, parse_content_range_value, parse_range_spec,
30    parse_unsatisfiable_total, require_exact_partial, write_content_range, write_range_header,
31    write_unsatisfiable_content_range, ContentRange, InclusiveRange, RangeError,
32    LEGACY_FULL_OBJECT_FALLBACK_BYTES,
33};
34pub use status::{
35    admit_headers, classify_status, strong_etag, write_strong_etag, AdmittedTransfer,
36    FallbackPolicy, HeaderView, HttpStatusClass, StatusError, Validator,
37};
38
39#[cfg(all(test, not(target_arch = "wasm32")))]
40mod tests;