Placid icon indicating copy to clipboard operation
Placid copied to clipboard

Fixed parsing of XML by adding application/xml content type.

Open bilke opened this issue 9 years ago • 0 comments

Using $response->getHeader('content-type') instead of $responseBody->getContentType() as the later does not report the content type correctly.

E.g. the following request did not work before this change:

https://jenkins.opengeosys.org/job/OGS-6/job/ufz/job/master/api/xml?pretty=true&tree=builds[displayName,url,keepLog]&exclude=/workflowJob/build[keepLog="false"]

bilke avatar Dec 08 '16 08:12 bilke