This change allows interceptors to set a shouldReplace property on the response object, signalling that the redirect should be performed with replaceState rather than pushState.
@soutar Sorry, but I have had very little time to pay attention to the project. Any reason to close the pull request? I can merge and upload the new version if you still want to.
This change allows interceptors to set a
shouldReplace
property on the response object, signalling that the redirect should be performed with replaceState rather than pushState.If there's already a way to achieve this feel free to reject this PR and point me in the right direction.