Closed Kache closed 4 years ago
Hey guys, what's up with this PR?
I'd agree with @ixti it looks OK-ish for now.
I think it'd really be better to extract an HTTP::Session
type out of client which deals with request state i.e. CookieJar
s, but otherwise this PR does address some longstanding requests.
Sorry it took me some time to get back in line but I will try to work on PRs this weekend.
I've merged this PR with some changes:
HTTP::Client
as they were irrelevant to the scope of this PRRequest#redirect
as deprecated and reverted changes to its APINotice that most likely branch will fail CI. We need to upgrade test tooling. And some tests.
As mentioned in #264, CookieJar implements cookie domain scoping rules, which is useful when issuing redirects across domains.
Resolves: #264