Skip to content

Wrong HTTP method on retry for CSRF token failure #8640

@niveathika

Description

@niveathika

The internal methods processPut, processPatch, and processDelete in ballerina/sap_http_client.bal retry the request using httpClient->post() when a CSRF token failure is detected.

Observed Behavior:

  • processPut retries with post
  • processPatch retries with post
  • processDelete retries with post

Expected Behavior:
These methods should use their respective HTTP verbs (put, patch, delete) during the retry attempt.

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