Edit this page

up.protocol X-Up-Fail-Context
HTTP header

This feature is experimental. It may be changed or removed in a future version.

This request header contains the context of the layer targeted for a failed fragment update, serialized as JSON.

A fragment update is considered failed if the server responds with a status code other than 2xx, but still renders HTML.

Server-side code is free to render different HTML for different contexts. For example, you might prefer to not render a site navigation for overlays.


X-Up-Fail-Context: { "context": "Choose a company contact" }