AspNetCore.Mvc.HttpActionResults icon indicating copy to clipboard operation
AspNetCore.Mvc.HttpActionResults copied to clipboard

Implement all HTTP status codes

Open ivaylokenov opened this issue 7 years ago • 0 comments

As per: https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

1xx Informational

  • [x] 100 Continue (Needs tests)
  • [x] 101 Switching Protocols (Needs tests)

2xx Success

  • [x] 200 OK (Already in MVC)
  • [x] 201 Created (Already in MVC)
  • [x] 202 Accepted (Needs tests)
  • [x] 203 Non-Authoritative Information
  • [x] 204 No Content (Already in MVC)
  • [x] 205 Reset Content
  • [x] 206 Partial Content

3xx Redirection

  • [x] 300 Multiple Choices
  • [x] 301 Moved Permanently (Already in MVC)
  • [x] 302 Found (Already in MVC)
  • [x] 303 See Other (Needs tests)
  • [x] 304 Not Modified (Needs tests)
  • [x] 305 Use Proxy
  • [x] 307 Temporary Redirect

4xx Client Error

  • [x] 400 Bad Request (Already in MVC)
  • [x] 401 Unauthorized (Already in MVC)
  • [x] 402 Payment Required
  • [x] 403 Forbidden (Already in MVC)
  • [x] 404 Not Found (Already in MVC)
  • [x] 405 Method Not Allowed (Needs tests)
  • [x] 406 Not Acceptable
  • [x] 407 Proxy Authentication Required
  • [x] 408 Request Timeout
  • [x] 409 Conflict
  • [x] 410 Gone
  • [x] 411 Length Required
  • [x] 412 Precondition Failed (Needs tests)
  • [x] 413 Request Entity Too Large
  • [ ] 414 Request-URI Too Long
  • [x] 415 Unsupported Media Type (Already in MVC without ControllerBase method)
  • [ ] 416 Requested Range Not Satisfiable (Add one more check - see specs, README)
  • [x] 417 Expectation Failed

5xx Server Error

  • [x] 500 Internal Server Error
  • [x] 501 Not Implemented
  • [x] 502 Bad Gateway
  • [x] 503 Service Unavailable
  • [x] 504 Gateway Timeout
  • [x] 505 HTTP Version Not Supported

ivaylokenov avatar Oct 02 '16 12:10 ivaylokenov