Skip to content

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

Closed
@cpiment

Description

@cpiment

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions