lib/4xx_errors.rb in sinatra-errorcodes-0.4.1 vs lib/4xx_errors.rb in sinatra-errorcodes-0.4.2
- old
+ new
@@ -92,10 +92,10 @@
CODE = Rack::Utils.status_code(:expectation_failed)
end
# 421 Misdirected Request
class MisdirectedRequest < ErrorBase
- CODE = Rack::Utils.status_code(:misdirected_failed)
+ CODE = Rack::Utils.status_code(:misdirected_request)
end
# 422 Unprocessable Entity
class UnprocessableEntity < ErrorBase
CODE = Rack::Utils.status_code(:unprocessable_entity)