methodFailure constant

HttpStatus const methodFailure

420 Method Failure.

The HTTP 420 Method Failure client error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request using the method provided. This status code is non-standard and is reserved for use in the WebDAV (Web Distributed Authoring and Versioning) framework.

Implementation

static const HttpStatus methodFailure = HttpStatus._(
  code: HttpStatusCode.methodFailure,
  name: 'Method Failure',
  description: 'The HTTP 420 Method Failure client error response code '
      'indicates that the server encountered an unexpected condition that '
      'prevented it from fulfilling the request using the method provided. '
      'This status code is non-standard and is reserved for use in '
      'the WebDAV (Web Distributed Authoring and Versioning) framework.',
);