Edit this page

up.protocol X-Up-Method
HTTP header

The server may set this optional response header to change the HTTP method after a fragment update.

Without this header Unpoly will assume a GET method if the response's URL changed from the request's URL,

Example

X-Up-Location: /current-url
X-Up-Method: GET
This website uses cookies to improve usability and analyze traffic.
I accept or learn more