Skip to content

[spring-cloud-fuction-adapter-azure-web] Request always returns 200 #1253

Closed
@alxmrtn-kroger

Description

@alxmrtn-kroger

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions