Async::HTTP::RelativeLocation
doesn't seem to work for absolute URLs
#171
Milestone
Async::HTTP::RelativeLocation
doesn't seem to work for absolute URLs
#171
In
RelativeLocation
, we immediately return if a URI is absolute:Perhaps I am using it wrong, but it seems like this doesn't follow the absolute redirect as it should?
If I change this block, the
while
loop correctly iterates and the redirect is transparently followed as I would expect:Maybe this isn't the intended behavior (please close this issue and disregard) or I am using the library incorrectly - I didn't see a test for absolute redirects, but the comments seem to indicate that this is a "Client wrapper which transparently handles both relative and absolute redirects to a given maximum number of hops."
The text was updated successfully, but these errors were encountered: