Skip to content

Commit

Permalink
Merge pull request #3369 from camptocamp/fix_wfs_query_request_conten…
Browse files Browse the repository at this point in the history
…t-type

Set content-type header for WFS requests
  • Loading branch information
llienher authored Jan 11, 2018
2 parents 89a90a2 + 055f0c7 commit cabdc44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/querent.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ ngeo.Querent = class {
featureCountRequest,
{
params,
headers: {'Content-Type': 'text/xml; charset=UTF-8'},
timeout: canceler.promise
}
).then(((response) => {
Expand Down Expand Up @@ -510,6 +511,7 @@ ngeo.Querent = class {
featureRequest,
{
params,
headers: {'Content-Type': 'text/xml; charset=UTF-8'},
timeout: canceler.promise
}
).then((response) => {
Expand Down

0 comments on commit cabdc44

Please sign in to comment.