Project

General

Profile

Bug #14840

`warning: constant Net::ProtoServerError is deprecated` only via net/http

Added by znz (Kazuhiro NISHIYAMA) 14 days ago. Updated 10 days ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 2.6.0dev (2018-06-10 trunk 63619) [x86_64-linux]
[ruby-dev:50563]

Description

When ruby loads net/protocol via net/http, Net::ProtoServerError is deprecated.
But via net/smtp, etc, it does not warn.
Is this intentional?

% ruby -r net/http -e 'Net::ProtoServerError'
-e:1: warning: constant Net::ProtoServerError is deprecated
% ruby -r net/smtp -e 'Net::ProtoServerError'

History

#1 [ruby-dev:50578] Updated by znz (Kazuhiro NISHIYAMA) 10 days ago

  • Status changed from Assigned to Closed

Resolved at r63661

Also available in: Atom PDF