Actions
Bug #14840
closed`warning: constant Net::ProtoServerError is deprecated` only via net/http
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'
Actions
Like0
Like0