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

Test for XML in response, regardless of mimetype #984

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

geographika
Copy link
Contributor

Fix for #983. application/octet-stream is a very generic mime type which could contain anything, so rather than adding more mime types to the list, a check is made to see if the response contains an xml tag, or is one of the following mime types:

['text/xml', 'application/xml', 'application/vnd.ogc.wms_xml']

@SimonSAMPERE - can you check if this works with the WFS/WMS services that previously were failing?

@SimonSAMPERE
Copy link

@geographika it works, well done!

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

Successfully merging this pull request may close these issues.

2 participants