Edit this page

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

This request header contains the mode of the layer targeted for a failed fragment update.

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 modes. For example, you might prefer to not render a site navigation for overlays.

Example

X-Up-Mode: drawer
X-Up-Fail-Mode: root