You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Response code should be built using the response code from the underlying httpResponse, the same way the response body and response headers are generated.
The text was updated successfully, but these errors were encountered:
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
spring-cloud-function/spring-cloud-function-adapters/spring-cloud-function-adapter-azure-web/src/main/java/org/springframework/cloud/function/adapter/azure/web/AzureWebProxyInvoker.java
Line 130 in 118c223
Response code should be built using the response code from the underlying
httpResponse
, the same way the response body and response headers are generated.The text was updated successfully, but these errors were encountered: