• Skip to main content
  • Skip to search
  • Skip to select language

Learn front-end development with high quality, interactive courses from Scrimba. Enroll now!

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

  1. Tecnologia Web para desenvolvedores
  2. HTTP
  3. Reference
  4. Códigos de status de respostas HTTP
  5. 417 Expectation Failed
    • Is this useful?
    • English (US)
    • Deutsch
    • Français
    • 日本語
    • Русский
    • 中文 (简体)
    • 正體中文 (繁體)

Esta página foi traduzida do inglês pela comunidade. Saiba mais e junte-se à comunidade MDN Web Docs.

Neste artigo

  • Estado
  • Especificações
  • Ver também
  1. HTTP
  2. Guides
  3. Uma visão geral do HTTP
  4. Evolution of HTTP
  5. Uma típica sessão HTTP
  6. Mensagens HTTP
  7. MIME types
  8. Compressão em HTTP
  9. Compression Dictionary Transport Experimental
  10. HTTP caching
  11. Autenticação HTTP
  12. Cookies HTTP
  13. Redirecionamentos em HTTP
  14. HTTP conditional requests
  15. HTTP range requests
  16. Negociação de conteúdo
  17. Gerenciamento de Conexão em HTTP/1.x
  18. Protocol upgrade mechanism
  19. Proxy servers and tunneling
  20. HTTP Client hints
  21. Security and privacy
    1. Deixando seu site seguro
    2. HTTP Observatory
    3. Permissions Policy Experimental
    4. Utilizando Políticas de Segurança de Conteúdo
    5. Cross-Origin Resource Policy (CORP)
    6. Cross-Origin Resource Sharing (CORS)
    7. CORS errors
      1. Reason: CORS disabled
      2. Reason: CORS header 'Access-Control-Allow-Origin' does not match 'xyz'
      3. Reason: CORS header 'Access-Control-Allow-Origin' missing
      4. Reason: CORS header 'Origin' cannot be added
      5. Reason: CORS preflight channel did not succeed
      6. Razão: A requisição CORS não foi bem sucedida
      7. Reason: CORS request external redirect not allowed
      8. Reason: CORS request not HTTP
      9. Reason: Credential is not supported if the CORS header ‘Access-Control-Allow-Origin’ is ‘*’
      10. Reason: Did not find method in CORS header 'Access-Control-Allow-Methods'
      11. Reason: expected 'true' in CORS header 'Access-Control-Allow-Credentials'
      12. Reason: invalid token 'xyz' in CORS header 'Access-Control-Allow-Headers'
      13. Reason: invalid token 'xyz' in CORS header 'Access-Control-Allow-Methods'
      14. Reason: missing token 'xyz' in CORS header 'Access-Control-Allow-Headers' from CORS preflight channel
      15. Reason: Multiple CORS header 'Access-Control-Allow-Origin' not allowed
  22. Reference
  23. HTTP headers
    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 Experimental
    21. Attribution-Reporting-Register-Source Experimental
    22. Attribution-Reporting-Register-Trigger Experimental
    23. Authorization
    24. Available-Dictionary Experimental
    25. Cache-Control
    26. Clear-Site-Data
    27. Connection
    28. Digest
    29. Content-Disposition
    30. Content-DPR Non-standard Deprecated
    31. Content-Encoding
    32. Content-Language
    33. Content-Length
    34. Content-Location
    35. Content-Range
    36. Content-Security-Policy
    37. Content-Security-Policy-Report-Only
    38. Content-Type
    39. Cookie
    40. Critical-CH Experimental
    41. Cross-Origin-Embedder-Policy
    42. Cross-Origin-Opener-Policy
    43. Cross-Origin-Resource-Policy
    44. Date
    45. Device-Memory
    46. Dictionary-ID Experimental
    47. DNT Non-standard Deprecated
    48. Downlink Experimental
    49. DPR Non-standard Deprecated
    50. Early-Data Experimental
    51. ECT Experimental
    52. ETag
    53. Expect
    54. Expect-CT Deprecated
    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. Keep-Alive
    65. Last-Modified
    66. Link
    67. Location
    68. Max-Forwards
    69. NEL Experimental
    70. No-Vary-Search Experimental
    71. Observe-Browsing-Topics Experimental Non-standard
    72. Origin
    73. Origin-Agent-Cluster
    74. Feature-Policy Experimental
    75. Pragma Deprecated
    76. Prefer
    77. Preference-Applied
    78. Priority
    79. Proxy-Authenticate
    80. Proxy-Authorization
    81. Range
    82. Referer
    83. Referrer-Policy
    84. Refresh
    85. Report-To Non-standard Deprecated
    86. Reporting-Endpoints
    87. Repr-Digest
    88. Retry-After
    89. RTT Experimental
    90. Save-Data Experimental
    91. Sec-Browsing-Topics Experimental Non-standard
    92. Sec-CH-Prefers-Color-Scheme Experimental
    93. Sec-CH-Prefers-Reduced-Motion Experimental
    94. Sec-CH-Prefers-Reduced-Transparency Experimental
    95. Sec-CH-UA Experimental
    96. Sec-CH-UA-Arch Experimental
    97. Sec-CH-UA-Bitness Experimental
    98. Sec-CH-UA-Form-Factors Experimental
    99. Sec-CH-UA-Full-Version Deprecated
    100. Sec-CH-UA-Full-Version-List Experimental
    101. Sec-CH-UA-Mobile Experimental
    102. Sec-CH-UA-Model Experimental
    103. Sec-CH-UA-Platform Experimental
    104. Sec-CH-UA-Platform-Version Experimental
    105. Sec-CH-UA-WoW64 Experimental
    106. Sec-Fetch-Dest
    107. Sec-Fetch-Mode
    108. Sec-Fetch-Site
    109. Sec-Fetch-User
    110. Sec-GPC Experimental
    111. Sec-Purpose
    112. Sec-Speculation-Tags Experimental
    113. Sec-WebSocket-Accept
    114. Sec-WebSocket-Extensions
    115. Sec-WebSocket-Key
    116. Sec-WebSocket-Protocol
    117. Sec-WebSocket-Version
    118. Server
    119. Server-Timing
    120. Service-Worker
    121. Service-Worker-Allowed
    122. Service-Worker-Navigation-Preload
    123. Set-Cookie
    124. Set-Login
    125. SourceMap
    126. Speculation-Rules Experimental
    127. Strict-Transport-Security
    128. Supports-Loading-Mode Experimental
    129. TE
    130. Timing-Allow-Origin
    131. Tk Non-standard Deprecated
    132. Trailer
    133. Transfer-Encoding
    134. Upgrade
    135. Upgrade-Insecure-Requests
    136. Use-As-Dictionary Experimental
    137. User-Agent
    138. Vary
    139. Via
    140. Viewport-Width Non-standard Deprecated
    141. Want-Digest
    142. Want-Repr-Digest
    143. Warning Deprecated
    144. Width Non-standard Deprecated
    145. WWW-Authenticate
    146. X-Content-Type-Options
    147. X-DNS-Prefetch-Control Non-standard
    148. X-Forwarded-For Non-standard
    149. X-Forwarded-Host Non-standard
    150. X-Forwarded-Proto Non-standard
    151. X-Frame-Options
    152. X-Permitted-Cross-Domain-Policies Non-standard
    153. X-Powered-By Non-standard
    154. X-Robots-Tag Non-standard
    155. X-XSS-Protection Non-standard Deprecated
  24. HTTP request methods
    1. CONNECT
    2. DELETE
    3. GET
    4. HEAD
    5. OPTIONS
    6. PATCH
    7. POST
    8. PUT
    9. TRACE
  25. HTTP response status codes
    1. 100 Continue
    2. 101 Switching Protocols
    3. 102 Processing
    4. 103 Early Hints
    5. 200 OK
    6. 201 Created
    7. 202 Accepted
    8. 203 Non-Authoritative Information
    9. 204 No Content
    10. 205 Reset Content
    11. 206 Partial Content
    12. 207 Multi-Status
    13. 208 Already Reported
    14. 226 IM Used
    15. 300 Multiple Choices
    16. 301 Moved Permanently
    17. 302 Found
    18. 303 See Other
    19. 304 Not Modified
    20. 307 Redirecionamento temporário
    21. 308 Permanent Redirect
    22. 400 Bad Request
    23. 401 Unauthorized
    24. 402 Payment Required
    25. 403 Forbidden
    26. 404 Not Found
    27. 405 Method Not Allowed
    28. 406 Not Acceptable
    29. 407 Proxy Authentication Required
    30. 408 Request Timeout
    31. 409 Conflict
    32. 410 Gone
    33. 411 Length Required
    34. 412 Precondition Failed
    35. 413 Payload Too Large
    36. 414 URI Too Long
    37. 415 Unsupported Media Type
    38. 416 Range Not Satisfiable
    39. 417 Expectation Failed
    40. 418 I'm a teapot
    41. 421 Misdirected Request
    42. 422 Unprocessable Entity
    43. 423 Locked
    44. 424 Failed Dependency
    45. 425 Too Early
    46. 426 Upgrade Required
    47. 428 Precondition Required
    48. 429 Too Many Requests
    49. 431 Request Header Fields Too Large
    50. 451 Unavailable For Legal Reasons
    51. 500 Internal Server Error
    52. 501 Not Implemented
    53. 502 Bad Gateway
    54. 503 Service Unavailable
    55. 504 Gateway Timeout
    56. 505 HTTP Version Not Supported
    57. 506 Variant Also Negotiates
    58. 507 Insufficient Storage
    59. 508 Loop Detected
    60. 510 Not Extended
    61. 511 Network Authentication Required
  26. CSP directives
    1. CSP: base-uri
    2. CSP: block-all-mixed-content Deprecated
    3. CSP: child-src
    4. CSP: connect-src
    5. CSP: default-src
    6. CSP: fenced-frame-src Experimental
    7. CSP: font-src
    8. CSP: form-action
    9. CSP: frame-ancestors
    10. CSP: frame-src
    11. CSP: img-src
    12. CSP: manifest-src
    13. CSP: media-src
    14. CSP: object-src
    15. CSP: prefetch-src Non-standard Deprecated
    16. CSP: report-to
    17. CSP: report-uri Deprecated
    18. CSP: require-trusted-types-for
    19. CSP: sandbox
    20. CSP: script-src
    21. CSP: script-src-attr
    22. CSP: script-src-elem
    23. CSP: style-src
    24. CSP: style-src-attr
    25. CSP: style-src-elem
    26. CSP: trusted-types
    27. CSP: upgrade-insecure-requests
    28. CSP: worker-src
  27. Permissions-Policy directives Experimental
    1. Permissions-Policy: accelerometer Experimental
    2. Permissions-Policy: ambient-light-sensor Experimental
    3. Permissions-Policy: attribution-reporting Experimental
    4. Permissions-Policy: autoplay Experimental
    5. Permissions-Policy: bluetooth Experimental
    6. Permissions-Policy: browsing-topics Experimental Non-standard
    7. Permissions-Policy: camera Experimental
    8. Permissions-Policy: compute-pressure Experimental
    9. Permissions-Policy: cross-origin-isolated Experimental
    10. Permissions-Policy: deferred-fetch Experimental
    11. Permissions-Policy: deferred-fetch-minimal Experimental
    12. Permissions-Policy: display-capture Experimental
    13. Permissions-Policy: document-domain Experimental
    14. Permissions-Policy: encrypted-media Experimental
    15. Permissions-Policy: fullscreen Experimental
    16. Permissions-Policy: gamepad Experimental
    17. Permissions-Policy: geolocation Experimental
    18. Permissions-Policy: gyroscope Experimental
    19. Permissions-Policy: hid Experimental
    20. Permissions-Policy: identity-credentials-get Experimental
    21. Permissions-Policy: idle-detection Experimental
    22. Permissions-Policy: local-fonts Experimental
    23. Permissions-Policy: magnetometer Experimental
    24. Permissions-Policy: microphone Experimental
    25. Permissions-Policy: midi Experimental
    26. Permissions-Policy: otp-credentials Experimental
    27. Permissions-Policy: payment Experimental
    28. Permissions-Policy: picture-in-picture Experimental
    29. Permissions-Policy: publickey-credentials-create Experimental
    30. Permissions-Policy: publickey-credentials-get Experimental
    31. Permissions-Policy: screen-wake-lock Experimental
    32. Permissions-Policy: serial Experimental
    33. Permissions-Policy: speaker-selection Experimental
    34. Permissions-Policy: storage-access Experimental
    35. Permissions-Policy: usb Experimental
    36. Permissions-Policy: web-share Experimental
    37. Permissions-Policy: window-management Experimental
    38. Permissions-Policy: xr-spatial-tracking Experimental
  28. HTTP resources and specifications

Neste artigo

  • Estado
  • Especificações
  • Ver também

417 Expectation Failed

O codigo de erro de cliente HTTP 417 Expectation Failed indica que a expectativa enviada no cabeçalho da requisição Expect não foi suprida.

Veja o cabeçalho Expect para mais detalhes.

Estado

417 Expectation Failed

Especificações

Especificação Título
RFC 7231, sessão 6.5.14: 417 Expectation Failed Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

Ver também

  • Expect

Help improve MDN

Learn how to contribute.

This page was last modified on 16 de mar. de 2025 by MDN contributors.

View this page on GitHub • Report a problem with this content
MDN logo

Your blueprint for a better internet.

  • MDN on Bluesky
  • MDN on Mastodon
  • MDN on X (formerly Twitter)
  • MDN on GitHub
  • MDN Blog RSS Feed

MDN

  • About
  • Blog
  • Careers
  • Advertise with us

Support

  • Product help
  • Report an issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
  • Hacks Blog
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2025 by individual mozilla.org contributors. Content available under a Creative Commons license.