By default, puppy follows redirects, but has no way to know the final URL. This PR adds url field to Response object, allowing to get the final URL after redirects.
New redirect test passes on:
Windows with WinHTTP
Linux with libcurl
MacOS with AppKit & libcurl
I couldn't test on Windows with libcurl, but I'm assuming it should work too.
Addresses #96
By default, puppy follows redirects, but has no way to know the final URL. This PR adds
url
field toResponse
object, allowing to get the final URL after redirects. New redirect test passes on:I couldn't test on Windows with libcurl, but I'm assuming it should work too. Addresses #96