Issue #14316 has been updated by znz (Kazuhiro NISHIYAMA).


> I wonder if we should slowly move towards using classes based on
> the numbers instead, and leave the unstable English phrasing out
> of our API...

I think `Net::HTTP::STATUS_CODES` is added for such purpose.
https://bugs.ruby-lang.org/issues/12935

----------------------------------------
Feature #14316: Update Status Code classes
https://bugs.ruby-lang.org/issues/14316#change-69544

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 2.6
----------------------------------------
In lib/net/http/responses.rb, some class names are old names.
So I would like to update and add `103 	Early Hints` if no objection.

see https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml

---Files--------------------------------
0001-Specify-frozen_string_literal-true.patch (697 Bytes)
0002-Add-103-Early-Hints.patch (1.11 KB)
0003-Update-Status-Code.patch (3.93 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>