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 · 4 comments
Open

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

cpiment opened this issue Mar 21, 2024 · 4 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.

@mixaverros88
Copy link

Also I faced the same issue.
The response status should be 400.

Screenshot_15

Copy link

This issue has been stale for over 60 days

@cpiment
Copy link
Author

cpiment commented Oct 24, 2024

There are several issues regarding the Azure Function Adapter which have gone stale.

Copy link

This issue has been stale for over 60 days

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

No branches or pull requests

2 participants