Home / Docs / Standard library / Prelude

Header

Release v0.4.0Edition 0.2 and later

A kind of the prelude, in scope in every module. Edition 0.2 and later.

una
pub kind Header
  name: Text
  value: internal Text

A header of an HTTP request or response (spec/24 §1). Its value may hold internal data, which a request accepts; a secret needs a policy first.

Specification

Generated from the standard modules of una v0.4.0 (docs/std/listing.json, which is not part of the specification). The specification governs: spec/14 §1.