From: zn@... Date: 2018-01-11T12:58:23+00:00 Subject: [ruby-core:84831] [Ruby trunk Feature#14316] Update Status Code classes 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: