Skip to content

Conversation

nobu
Copy link
Member

@nobu nobu commented Nov 15, 2024

These constants, isolated in net/http/backward.rb, have not only been deprecated since 2001, but have also had a warning since 2021.

These constants, isolated in net/http/backward.rb, have not only been
deprecated since 2001, but have also had a warning since 2021.
@nobu nobu merged commit 71f8f24 into ruby:master Nov 15, 2024
22 checks passed
@nobu nobu deleted the remove-deprecated-constants branch November 15, 2024 03:15
@yahonda
Copy link

yahonda commented Nov 19, 2024

I have opened https://bugs.ruby-lang.org/issues/20900 because I wanted Net.send(:remove_const, :HTTPSession) should emit warnings first.

JamieMagee added a commit to dependabot/dependabot-core that referenced this pull request Sep 9, 2025
This resolves the deprecation warning

```
warning: constant Net::HTTPSession is deprecated
```

See:
- bblimke/webmock#1088
- bblimke/webmock#1081
- ruby/net-http#189
JamieMagee added a commit to dependabot/dependabot-core that referenced this pull request Sep 9, 2025
This resolves the deprecation warning

```
warning: constant Net::HTTPSession is deprecated
```

See:
- bblimke/webmock#1088
- bblimke/webmock#1081
- ruby/net-http#189
JamieMagee added a commit to dependabot/dependabot-core that referenced this pull request Sep 11, 2025
This resolves the deprecation warning

```
warning: constant Net::HTTPSession is deprecated
```

See:
- bblimke/webmock#1088
- bblimke/webmock#1081
- ruby/net-http#189
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants