Closed smartymoon closed 4 years ago
@smartymoon hello! I have no tried Enlighten with the following redirect option, I'll do that as soon as I can and will let you know how it goes and if I can reproduce & fix the issue.
@smartymoon the fix is already in dev
and will be deployed soon. Thanks for reporting the issue :)
@smartymoon deployed in 0.4.
@sileence It is me who should say thank you. thank you for this package, thank you for fix this. this package help me a lot
You’re welcome, @XinBa
Is this behavior ok? I was just thinking I should follow all the redirects but show only the first request and the last response. What do you think?
On Fri, 6 Nov 2020 at 09:16, XinBa notifications@github.com wrote:
@sileence https://github.com/sileence It is me who should say thank you. thank you for this package, thank you for fix this. this package help me a lot
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/StydeNet/enlighten/issues/35#issuecomment-722969920, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABZ7WVHMGELVSSONAW3VOLSOO5GNANCNFSM4TJ2ARWA .
@smartymoon we just pushed a new patch release (0.4.1
) it improves this behaviour by saving all the requests with their corresponding responses
request 1 -> response 1 request 2 -> response 2 request 3 -> response 3
From 0.5.0 you'll be able to see if a request/response is following the redirect from a previous request/response.
@sileence I have try dev branch, it works, thank you
@smartymoon great! you can also start using ^0.4 if you want :)
Describe the bug
i want to record redirect request after 302. there are an exception happend.
making some change in HttpExampleCreatorMiddleware
i got that
after three 3 hours study of code and watching 2020 US election
I give up
To Reproduce make a 302 request in test and add followingRedirects method
Expected behavior record two reqest completly
Screenshots
Additional context I love this package