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

Control the Accept header #89

Open
gbonnefille opened this issue Jan 24, 2023 · 0 comments
Open

Control the Accept header #89

gbonnefille opened this issue Jan 24, 2023 · 0 comments

Comments

@gbonnefille
Copy link

I'm using an old, probably misconfigured, SOAP service running on PHP.

Currently, the call fails due to a 406 error. I identified (reproducing with curl) that the problem is the Accept header.

When defaulted to "/" by curl, it works. But gosoap enforces it to "text/xml" and in this case it fails.

Is it possible to evolve gosoap to offer a control over this header?
I can do the change and propose a PR if you agree.

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

No branches or pull requests

1 participant