Skip to main content

Module headers

Module headers 

Source
Expand description

Inertia HTTP header names.

Constantsยง

VARY
Set on JSON responses so caches vary correctly.
X_INERTIA
Present (true) on Inertia XHR requests.
X_INERTIA_LOCATION
Set on response when an external redirect must be performed (paired with 409).
X_INERTIA_PARTIAL_COMPONENT
Component name being partially reloaded.
X_INERTIA_PARTIAL_DATA
Comma-separated allowlist of prop keys for a partial reload.
X_INERTIA_PARTIAL_EXCEPT
Comma-separated denylist of prop keys for a partial reload.
X_INERTIA_RESET
Indicates the client wants the server to reset specific merged props.
X_INERTIA_VERSION
Asset version known to the client.