HTTP requests should handle passing Cookies on redirects
|Reported by:||dd32||Owned by:||dd32|
A follow on from #21182
When a request is made a remote location which redirects, any set cookies are not used in the following requests.
This causes plugin developers to have to handle redirections manually, passing the cookies between calls.
In addition, any cookies used within the request, should be returned in the 'cookies' array. This is a slight behaviour change, Previously it'd only include cookies that were set, not those that were passed to it. I don't see this causing any significant change to existing code.
Working code and unit tests are available on #21182 and will be committed shortly.
Change History (8)
- Keywords has-patch commit added
- Owner set to dd32
- Status changed from new to accepted
comment:5 SergeyBiryukov — 4 months ago
- Resolution set to fixed
- Status changed from reopened to closed