Skip to content

[@foal/core] Add support for other missing HTTP response types #1361

Description

@kingsthwaiteJ

Building on changes from #1355, the following HTTP response types from MDN are not currently supported.

Informational Responses:

  • 100 Continue
  • 101 Switching Protocols
  • 102 Processing
  • 103 Early Hints

Successful Responses:

  • 203 Non-Authoritative Information
  • 205 Reset Content
  • 206 Partial Content
  • 207 Multi-Status
  • 208 Already Reported
  • 226 IM Used

Redirection Messages:

  • 300 Multiple Choices
  • 303 See Other
  • 304 Not Modified
  • 307 Temporary Redirect
  • 308 Permanent Redirect

Client Error Responses:

  • 402 Payment Required
  • 406 Not Acceptable
  • 407 Proxy Authentication Required
  • 408 Request Timeout
  • 410 Gone
  • 411 Length Required
  • 412 Precondition Failed
  • 413 Content Too Large
  • 414 URI Too Long
  • 415 Unsupported Media Type
  • 416 Range Not Satisfiable
  • 417 Expectation Failed
  • 418 I'm a teapot
  • 421 Misdirected Request
  • 423 Locked
  • 424 Failed Dependency
  • 425 Too Early
  • 426 Upgrade Required
  • 431 Request Header Fields Too Large
  • 451 Unavailable for Legal Reasons

Server Error Responses (optional extras, likely not useful?):

  • 502 Bad Gateway
  • 503 Service Unavailable
  • 504 Gateway Timeout
  • 505 HTTP Version Not Supported
  • 506 Variant Also Negotiates
  • 507 Insufficient Storage
  • 508 Loop Detected
  • 510 Not Extended
  • 511 Network Authentication Required

The proposed changes would follow the same approach from #1355.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions