geopython / GeoHealthCheck

Service Status and QoS Checker for OGC Web Services
https://geohealthcheck.org
MIT License
86 stars 69 forks source link

Update http.py #426

Closed Maretius closed 2 years ago

Maretius commented 2 years ago

The Catalogue Service (CSW) with HTTP POST Resource URL with body - Probe doesn't send a Content-Type and generated a 415 (Unsupported Media Type) Error. It was tested with tcpdump and wireshark. After changing the return value to "{'content-type': self._parameters['content_type']}" of the get_request_headers method the problem was solved.