socketry / async-http

MIT License
298 stars 45 forks source link

Allow `Async::HTTP::Internet` methods to accept `URI::HTTP` objects. #118

Closed postmodern closed 1 week ago

postmodern commented 1 year ago

URI::HTTP objects do not define a to_str method, so call to_s on the uri instead.

Types of Changes

Contribution

ioquatix commented 1 year ago

This seems reasonable to me, but I just wonder why it was to_str in the first place.

ioquatix commented 1 week ago

Thanks for your contribution.