Replies: 4 comments
-
That's nothing we support very well to be honest. What you can do is write a |
Beta Was this translation helpful? Give feedback.
-
This is what I come with, working the the 8.0 version (main branch). The only way I got it to work was to always intercepting the request and using a reply client with a thread event. Unfortunately is much slower than without the replay. @mhils there is a way to reply only the requests that went to the error handler? I tried everything, but I cannot override the reply of the error-ed request.
|
Beta Was this translation helpful? Give feedback.
-
The Thanks for sharing your snippet! I'm happy to see that you found something that works. I would still recommend using httpx/requests with |
Beta Was this translation helpful? Give feedback.
-
Hi all I've implemented the following solution using
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
First of all thanks for this awesome project.
I want to switch proxy and retry a request on a error, but couldn't find a way.
I coded an add-on to intercept the error handler, and I´m able to reissue another request like that:
But the 502 - Bad gateway replay is sent. Anyone can´t help me with this?
Beta Was this translation helpful? Give feedback.
All reactions