Skip to content

Commit

Permalink
Update files/zh-cn/web/http/headers/referrer-policy/index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 authored Nov 5, 2023
1 parent 1130e4c commit eb4581e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/zh-cn/web/http/headers/referrer-policy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Referrer-Policy: unsafe-url
- `no-referrer-when-downgrade`
- : 在同等安全级别或安全级别提升的情况下(HTTP→HTTP、HTTP→HTTPS、HTTPS→HTTPS),在 {{HTTPHeader("Referer")}} 中发送{{glossary("origin", "来源")}}、路径和查询字符串。而在目标的安全级别下降的情况下(HTTPS→HTTP、HTTPS→file)则不发送 {{HTTPHeader("Referer")}} 标头。
- `origin`
- : 在任何情况下,仅发送文件的源作为引用地址。例如 `https://example.com/page.html` 会将 `https://example.com/ 作为引用地址`
- : 仅在 {{HTTPHeader("Referer")}} 标头中发送{{glossary("origin", "来源")}}。例如 `https://example.com/page.html` 文档会将 `https://example.com/` 作为引用地址。
- `origin-when-cross-origin`
- : 对于同源的请求,会发送完整的 URL 作为引用地址,但是对于非同源请求仅发送文件的源。
- `same-origin`
Expand Down

0 comments on commit eb4581e

Please sign in to comment.