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

spring-cloud-function-adapter-azure-web always returns 200 #1126

Open
cpiment opened this issue Mar 21, 2024 · 0 comments
Open

spring-cloud-function-adapter-azure-web always returns 200 #1126

cpiment opened this issue Mar 21, 2024 · 0 comments

Comments

@cpiment
Copy link

cpiment commented Mar 21, 2024

Describe the bug
The Azure Web Adapter always returns response code 200, even if the method it calls from the Spring Web application returns any other response code.

Also I have detected that if you call a path that doesn't exist in the underlying Controllers, you also get a 200 response code and no errors in logs.

Sample

Response code should be built using the response code from the underlying httpResponse, the same way the response body and response headers are generated.

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

1 participant