Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vanny96 opened this issue Oct 3, 2024 · 1 comment
Open

Comments

@vanny96
Copy link

vanny96 commented Oct 3, 2024

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

@vanny96 vanny96 added the bug label Oct 3, 2024
@andyo-tyk andyo-tyk changed the title Add XML error handling for application/soap+xml requests [TT-13226] Add XML error handling for application/soap+xml requests Oct 7, 2024
@andyo-tyk
Copy link
Contributor

Hi @vanny96,

Thanks for spotting this and for the contribution. We will review this and aim to implement a fix in the product as soon as we have capacity in a release.

Thanks again.

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

No branches or pull requests

2 participants