demo · v131

builder: format your Speculation-Rules header

The header carries a Structured Field list of URLs to JSON rule documents. Edit the JSON below — the page generates the canonical header line, the wrapping JSON document, and a fully-formed fetch response example.

HTTP response


    

server-side handler (Express)


    

see also