lostisland / faraday

Simple, but flexible HTTP client library, with support for multiple backends.
https://lostisland.github.io/faraday
MIT License
5.74k stars 976 forks source link

Use Uri.parse instead of Utils.URI #1485

Closed iMacTia closed 1 year ago

iMacTia commented 1 year ago

Description

Utils.URI can be configured to use a different parser and return an object that "behaves like a URI". However, opaque is not available in other objects (e.g. Addressable::URI), so in this instance we need to use URI.

Fixes #1484