lib/restclient/exceptions.rb in rest-client-maestro-1.7.3.maestro vs lib/restclient/exceptions.rb in rest-client-maestro-1.7.4.maestro

- old
+ new

@@ -38,17 +38,20 @@ 413 => 'Request Entity Too Large', 414 => 'Request-URI Too Long', 415 => 'Unsupported Media Type', 416 => 'Requested Range Not Satisfiable', 417 => 'Expectation Failed', - 418 => 'I\'m A Teapot', + 418 => 'I\'m A Teapot', #RFC2324 421 => 'Too Many Connections From This IP', 422 => 'Unprocessable Entity', #WebDAV 423 => 'Locked', #WebDAV 424 => 'Failed Dependency', #WebDAV 425 => 'Unordered Collection', #WebDAV 426 => 'Upgrade Required', + 428 => 'Precondition Required', #RFC6585 + 429 => 'Too Many Requests', #RFC6585 + 431 => 'Request Header Fields Too Large', #RFC6585 449 => 'Retry With', #Microsoft 450 => 'Blocked By Windows Parental Controls', #Microsoft 500 => 'Internal Server Error', 501 => 'Not Implemented', @@ -57,10 +60,12 @@ 504 => 'Gateway Timeout', 505 => 'HTTP Version Not Supported', 506 => 'Variant Also Negotiates', 507 => 'Insufficient Storage', #WebDAV 509 => 'Bandwidth Limit Exceeded', #Apache - 510 => 'Not Extended'} + 510 => 'Not Extended', + 511 => 'Network Authentication Required', # RFC6585 + } # Compatibility : make the Response act like a Net::HTTPResponse when needed module ResponseForException def method_missing symbol, *args if net_http_res.respond_to? symbol