diff options
Diffstat (limited to 'lib/net/http/responses.rb')
-rw-r--r-- | lib/net/http/responses.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/net/http/responses.rb b/lib/net/http/responses.rb index a5b8ddc68b..8e75f75d4f 100644 --- a/lib/net/http/responses.rb +++ b/lib/net/http/responses.rb @@ -169,6 +169,9 @@ end class Net::HTTPRequestHeaderFieldsTooLarge < Net::HTTPClientError # 431 - RFC 6585 HAS_BODY = true end +class Net::HTTPUnavailableForLegalReasons < Net::HTTPClientError # 451 + HAS_BODY = true +end # 444 No Response - Nginx # 449 Retry With - Microsoft # 450 Blocked by Windows Parental Controls - Microsoft |