You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @aslushnikov , the workaround worked and I am currently using it in my code. Thank you very much for the suggestion.
That being said, I do believe that the correct behavior here is that the request object should be updated, as the request reported by response.request() is stale, and might be significantly diverged from the request that actually ended up being sent. If you have two libraries that don't know about each other (as opposed to my example where I control both ends), this could lead to more complex and difficult to debug incorrect behavior.
I'm doing something relatively simple in the request interception:
However, later, when I receive the callback for the response, this header is missing from the associated request:
I am trying to mark the request as modified so that later in the response I know this was one of my intercepted requests.
The text was updated successfully, but these errors were encountered: