Skip to main content

VERSION_HEADER

Constant VERSION_HEADER 

Source
pub const VERSION_HEADER: &str = "microvms-agentd-version";
Expand description

The response header carrying the daemon version, on every response including errors.

Lowercase because HTTP/2 requires it and hyper normalizes anyway; naming it once here keeps the layer, the schema document, and any test asserting on it from drifting into three spellings of the same header.