Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<groovy/> sets empty Response in the Response flow, when exc.getResponse() == null #761

Open
rrayst opened this issue Oct 16, 2023 · 2 comments

Comments

@rrayst
Copy link
Contributor

rrayst commented Oct 16, 2023

This leads to

            <groovy>
                println exc.getRequest().getUri()
            </groovy>

producing weird 200 OK responses in error cases.

(This is due to:

)

@predic8
Copy link
Member

predic8 commented Nov 7, 2023

@t-burch Test and post how the wired response looks like (test with curl).

I do not know if we should change something. Cause this might not the only Interceptor. Maybe we should check in the Transport if response==null and then provide an error message?

@t-burch
Copy link
Collaborator

t-burch commented Jul 1, 2024

In what circumstance does it set the 200 OK response, how can one reproduce that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants