Skip to content

[TT-13226] Add XML error handling for application/soap+xml requests #6602

Open
@vanny96

Description

Branch/Environment/Version

  • Branch/Version: Master
  • Environment: All

Describe the bug
Currently, Tyk returns a JSON response when a request with Content-Type "application/soap+xml" incurs in an error.

Reproduction steps
Steps to reproduce the behavior:

  1. Add api
  2. Add basic auth to the api
  3. Call api without authorization and with the Content-Type header set to application/soap+xml

Actual behavior
Returns JSON error message

Expected behavior
Returns XML error message

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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