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-fuction-adapter-azure-web] Request always returns 200 #1253

Closed
alxmrtn-kroger opened this issue Mar 28, 2025 · 2 comments
Closed

Comments

@alxmrtn-kroger
Copy link
Contributor

Describe the bug
The adapter takes the http response received, completely ignores the response status, and just sets it to 200. It should be inspecting and using the http response status from the response object.

Sample
Offending code: https://github.com/spring-cloud/spring-cloud-function/blob/main/spring-cloud-function-adapters/spring-cloud-function-adapter-azure-web/src/main/java/org/springframework/cloud/function/adapter/azure/web/AzureWebProxyInvoker.java#L141C1-L141C75

@end-user
Copy link

I think this would solve my problem.

@alxmrtn-kroger
Copy link
Contributor Author

alxmrtn-kroger commented Mar 28, 2025

hopefully an easy one for you @olegz - this would be really helpful to have merged

#1254

@olegz olegz closed this as completed in 08f5b8e Apr 1, 2025
olegz pushed a commit that referenced this issue Apr 1, 2025
Resolves #1253

Signed-off-by: Alexander Martin <[email protected]>
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

2 participants