From the docs:
Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.
If this is true for a redirect request (with a single request ID), it is not possible to determine which real http request this event belongs to. You may have the following two scenarios when a redirect occurs:
Scenario 1. Request ID = X
- original url requestWillBeSent
- original url requestWillBeSentExtraInfo
- redirect url requestWill Be Sent
Scenario 2. Request ID = Y
- original url requestWillBeSent
- redirect url requestWillBeSentExtraInfo
- redirect url requestWill Be Sent
When you receive the `requestWillBeSentExtraInfo` event, how do you know which URL it should be attributed to? It must belong to either the original URL, or the redirect URL, but after inspecting the event payloads I can't see any data that will let you determine which scenario you are in.
Thanks,