Skip to content

Conversation

@mame
Copy link
Member

@mame mame commented Oct 8, 2025

In short, this allows Net::HTTP.get("http://example.com") instead of Net::HTTP.get(URI("http://example.com")).

In short, this allows `Net::HTTP.get("http://example.com")` instead of
`Net::HTTP.get(URI("http://example.com"))`.
# Posts data to a host; returns a Net::HTTPResponse object.
#
# Argument +url+ must be a URL;
# Argument +url+ must be a URI;
Copy link
Contributor

@olleolleolle olleolleolle Oct 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: perhaps now this wording (used in many places) can be expanded to include "either as an instance of String or URI".

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.

2 participants