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

Set content-type header for WFS requests #3369

Merged
merged 1 commit into from Jan 11, 2018

Conversation

llienher
Copy link
Member

Fixes https://jira.camptocamp.com/servicedesk/customer/portal/6/GEO-865

Currently the WFS requests are sent with header 'content-type': 'application/json', but we always send a xml payload to Mapserver. Issue is on one of baselstadt instance (integration), this behaviour did redirect the request for some reasons ... Setting the correct content-type header to 'text/xml'.

More generally, outside this use case, the content-type should have been 'text/xml' anyways.

@llienher llienher added this to the 2.2 milestone Jan 11, 2018
@llienher llienher self-assigned this Jan 11, 2018
Copy link
Member

@ger-benjamin ger-benjamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but I want the review of @sbrunner

@llienher llienher merged commit cabdc44 into 2.2 Jan 11, 2018
@llienher llienher deleted the fix_wfs_query_request_content-type branch January 11, 2018 13:40
@svagap svagap mentioned this pull request Feb 8, 2018
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.

None yet

3 participants