async-http
async-http copied to clipboard
Allow `Async::HTTP::Internet` methods to accept `URI::HTTP` objects.
URI::HTTP objects do not define a to_str method, so call to_s on the uri instead.
Types of Changes
- Bug fix.
Contribution
- [x] I added tests for my changes.
- [x] I tested my changes locally.
- [x] I agree to the Developer's Certificate of Origin 1.1.
This seems reasonable to me, but I just wonder why it was to_str in the first place.
Thanks for your contribution.