• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Accessibility

      Build web projects usable for all

    • Web Technology

      Web technology reference for developers

  • Learn
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Plus
    • Overview

      A customized MDN experience

    • AI Help

      Get real-time assistance and support

    • Updates

      All browser compatibility updates at a glance

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Curriculum New
  • Blog
    • Playground

      Write, test and share your code

    • HTTP Observatory

      Scan a website for free

    • AI Help

      Get real-time assistance and support

  • Log in
  • Sign up for free
  1. 面向开发者的 Web 技术
  2. HTTP
  3. 参考
  4. HTTP 响应状态码
  5. 410 Gone
    • English (US)
    • Deutsch
    • Français
    • 日本語
    • 한국어
    • Português (do Brasil)
    • Русский
    • 正體中文 (繁體)

此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

在本文中

  • 状态
  • 规范
  • 参见
  1. HTTP
  2. 指南
  3. HTTP 概述
  4. HTTP 的发展
  5. 典型的 HTTP 会话
  6. HTTP 消息
  7. MIME 类型(IANA 媒体类型)
    1. 常见 MIME 类型列表
  8. HTTP 协议中的数据压缩
  9. HTTP 缓存
  10. HTTP 身份验证
  11. HTTP Cookie
  12. HTTP 的重定向
  13. HTTP 条件请求
  14. HTTP 范围请求
  15. HTTP 客户端提示(Client Hint)
  16. Compression Dictionary Transport 实验性
  17. Network Error Logging 实验性
  18. 内容协商
    1. Accept 默认值
  19. 使用用户代理字段进行浏览器检测
  20. HTTP/1.x 的连接管理
  21. 协议升级机制
  22. 代理服务器与隧道
    1. 代理自动配置文件(PAC)文件
  23. 安全与隐私
    1. HTTP Observatory
    2. 确保你的站点安全
    3. 权限策略 实验性
    4. Cross-Origin Resource Policy (CORP)
    5. 跨源资源共享(CORS)
    6. CORS 错误
      1. 原因:CORS disabled
      2. 原因:CORS header 'Access-Control-Allow-Origin' does not match 'xyz'
      3. 原因:CORS header 'Access-Control-Allow-Origin' missing
      4. 原因:CORS header 'Origin' cannot be added
      5. 原因:CORS preflight channel did not succeed
      6. 原因:CORS request did not succeed
      7. 原因:CORS request external redirect not allowed
      8. 原因:CORS request not HTTP
      9. 原因:Credential is not supported if the CORS header 'Access-Control-Allow-Origin' is '*'
      10. 原因:Did not find method in CORS header 'Access-Control-Allow-Methods'
      11. 原因:expected 'true' in CORS header 'Access-Control-Allow-Credentials'
      12. 原因:invalid token 'xyz' in CORS header 'Access-Control-Allow-Headers'
      13. 原因:invalid token 'xyz' in CORS header 'Access-Control-Allow-Methods'
      14. 原因:missing token 'xyz' in CORS header 'Access-Control-Allow-Headers' from CORS preflight channel
      15. 原因:Multiple CORS header 'Access-Control-Allow-Origin' not allowed
    7. 内容安全策略(CSP)
      1. Errors and warnings
  24. 参考
  25. HTTP 标头
    1. Accept
    2. Accept-CH
    3. Accept-Encoding
    4. Accept-Language
    5. Accept-Patch
    6. Accept-Post
    7. Accept-Ranges
    8. Access-Control-Allow-Credentials
    9. Access-Control-Allow-Headers
    10. Access-Control-Allow-Methods
    11. Access-Control-Allow-Origin
    12. Access-Control-Expose-Headers
    13. Access-Control-Max-Age
    14. Access-Control-Request-Headers
    15. Access-Control-Request-Method
    16. Age
    17. Allow
    18. Alt-Svc
    19. Alt-Used
    20. Attribution-Reporting-Eligible 实验性
    21. Attribution-Reporting-Register-Source 实验性
    22. Attribution-Reporting-Register-Trigger 实验性
    23. Authorization
    24. Available-Dictionary 实验性
    25. Cache-Control
    26. Clear-Site-Data
    27. Connection
    28. Content-Digest
    29. Content-Disposition
    30. Content-DPR 非标准 已弃用
    31. Content-Encoding
    32. Content-Language
    33. Content-Length
    34. Content-Location
    35. Content-Range
    36. Content-Security-Policy (CSP)
    37. Content-Security-Policy-Report-Only
    38. Content-Type
    39. Cookie
    40. Critical-CH 实验性
    41. Cross-Origin-Embedder-Policy
    42. Cross-Origin-Opener-Policy
    43. Cross-Origin-Resource-Policy
    44. Date
    45. Device-Memory
    46. Dictionary-ID 实验性
    47. DNT 非标准 已弃用
    48. Downlink 实验性
    49. DPR 非标准 已弃用
    50. Early-Data 实验性
    51. ECT 实验性
    52. ETag
    53. Expect
    54. Expect-CT 已弃用
    55. Expires
    56. Forwarded
    57. From
    58. Host
    59. If-Match
    60. If-Modified-Since
    61. If-None-Match
    62. If-Range
    63. If-Unmodified-Since
    64. Integrity-Policy
    65. Integrity-Policy-Report-Only
    66. Keep-Alive
    67. Last-Modified
    68. Link
    69. Location
    70. Max-Forwards
    71. NEL 实验性
    72. No-Vary-Search 实验性
    73. Observe-Browsing-Topics 实验性 非标准
    74. Origin
    75. Origin-Agent-Cluster
    76. Permissions-Policy 实验性
    77. Pragma 已弃用
    78. Prefer
    79. Preference-Applied
    80. Priority
    81. Proxy-Authenticate
    82. Proxy-Authorization
    83. Range
    84. Referer
    85. Referrer-Policy
    86. Refresh
    87. Report-To 非标准 已弃用
    88. Reporting-Endpoints
    89. Repr-Digest
    90. Retry-After
    91. RTT 实验性
    92. Save-Data 实验性
    93. Sec-Browsing-Topics 实验性 非标准
    94. Sec-CH-Prefers-Color-Scheme 实验性
    95. Sec-CH-Prefers-Reduced-Motion 实验性
    96. Sec-CH-Prefers-Reduced-Transparency 实验性
    97. Sec-CH-UA 实验性
    98. Sec-CH-UA-Arch 实验性
    99. Sec-CH-UA-Bitness 实验性
    100. Sec-CH-UA-Form-Factors 实验性
    101. Sec-CH-UA-Full-Version 已弃用
    102. Sec-CH-UA-Full-Version-List 实验性
    103. Sec-CH-UA-Mobile 实验性
    104. Sec-CH-UA-Model 实验性
    105. Sec-CH-UA-Platform 实验性
    106. Sec-CH-UA-Platform-Version 实验性
    107. Sec-CH-UA-WoW64 实验性
    108. Sec-Fetch-Dest
    109. Sec-Fetch-Mode
    110. Sec-Fetch-Site
    111. Sec-Fetch-User
    112. Sec-GPC 实验性
    113. Sec-Purpose
    114. Sec-Speculation-Tags 实验性
    115. Sec-WebSocket-Accept
    116. Sec-WebSocket-Extensions
    117. Sec-WebSocket-Key
    118. Sec-WebSocket-Protocol
    119. Sec-WebSocket-Version
    120. Server
    121. Server-Timing
    122. Service-Worker
    123. Service-Worker-Allowed
    124. Service-Worker-Navigation-Preload
    125. Set-Cookie
    126. Set-Login
    127. SourceMap
    128. Speculation-Rules 实验性
    129. Strict-Transport-Security
    130. Supports-Loading-Mode 实验性
    131. TE
    132. Timing-Allow-Origin
    133. Tk 非标准 已弃用
    134. Trailer
    135. Transfer-Encoding
    136. Upgrade
    137. Upgrade-Insecure-Requests
    138. Use-As-Dictionary 实验性
    139. User-Agent
    140. Vary
    141. Via
    142. Viewport-Width 非标准 已弃用
    143. Want-Content-Digest
    144. Want-Repr-Digest
    145. Warning 已弃用
    146. Width 非标准 已弃用
    147. WWW-Authenticate
    148. X-Content-Type-Options
    149. X-DNS-Prefetch-Control