|
16 | 16 | next if ['(Unused)', 'Unassigned', 'Description'].include?(mes)
|
17 | 17 | puts " #{code} => '#{mes}',"
|
18 | 18 | end
|
19 |
| - puts "}" |
| 19 | + puts "} # :nodoc:" |
20 | 20 | end
|
21 | 21 |
|
22 | 22 | Net::HTTP::STATUS_CODES = {
|
|
55 | 55 | 410 => 'Gone',
|
56 | 56 | 411 => 'Length Required',
|
57 | 57 | 412 => 'Precondition Failed',
|
58 |
| - 413 => 'Payload Too Large', |
| 58 | + 413 => 'Content Too Large', |
59 | 59 | 414 => 'URI Too Long',
|
60 | 60 | 415 => 'Unsupported Media Type',
|
61 | 61 | 416 => 'Range Not Satisfiable',
|
62 | 62 | 417 => 'Expectation Failed',
|
63 | 63 | 421 => 'Misdirected Request',
|
64 |
| - 422 => 'Unprocessable Entity', |
| 64 | + 422 => 'Unprocessable Content', |
65 | 65 | 423 => 'Locked',
|
66 | 66 | 424 => 'Failed Dependency',
|
| 67 | + 425 => 'Too Early', |
67 | 68 | 426 => 'Upgrade Required',
|
68 | 69 | 428 => 'Precondition Required',
|
69 | 70 | 429 => 'Too Many Requests',
|
|
78 | 79 | 506 => 'Variant Also Negotiates',
|
79 | 80 | 507 => 'Insufficient Storage',
|
80 | 81 | 508 => 'Loop Detected',
|
81 |
| - 510 => 'Not Extended', |
| 82 | + 510 => 'Not Extended (OBSOLETED)', |
82 | 83 | 511 => 'Network Authentication Required',
|
83 | 84 | } # :nodoc:
|
0 commit comments