The HTTP Sec-Redemption-Record Fetch Metadata Request Header is used by the Private State Token API when forwarding redemption records. The header contains a list of issuer and redemption record pairs corresponding to each redemption record.
Note that a developer wouldn't be expected to generate Sec-Redemption-Record request headers — these are created automatically by the browser when invoking private state token send-redemption-record fetch requests.
<table class="properties"> <tbody> <tr> <th scope="row">Header type</th> <td>Fetch Metadata Request Header</td> </tr> <tr> <th scope="row">Forbidden request header</th> <td>Yes (<code>Sec-</code> prefix)</td> </tr> <tr> <th scope="row"> CORS-safelisted request header </th> <td>No</td> </tr> </tbody> </table>
Syntax
Sec-Redemption-Record: <string>
Servers should ignore this header if it contains any other value.
Directives
<string>- : A string containing issuer and redemption record pairs.
Examples
Sec-Redemption-Record: "https://redeemer.example";redemption-record="eyJwdWJsaWNfbWV0YWR...
Specifications
Browser compatibility
See also
- Sec-Private-State-Token
- Sec-Private-State-Token-Crypto-Version
- Sec-Private-State-Token-Lifetime
- Private State Token API
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
