Skip to content

Commit 55cc591

Browse files
authored
Merge pull request #96 from Kilometerfresserin/issue_86_missing_application_json
Issue 86 missing application json
2 parents 6b96ccb + cd6d326 commit 55cc591

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/source/change_log.rst

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Change Log
44
``Master branch``
55
^^^^^^^^^^^^^^^^^
66

7+
* Fix json-bug in create_coveragestore method (see issue `#86 <https://github.com/gicait/geoserver-rest/issues/86>`)
8+
79
``[v2.4.0 - 2023-01-10]``
810
^^^^^^^^^^^^^^^^^^^^^^^^^^
911
* Fix the import issue, close `#76 <https://github.com/gicait/geoserver-rest/issues/76>`_

geo/Geoserver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def create_coveragestore(
452452
self.service_url, workspace, layer_name, file_type
453453
)
454454

455-
headers = {"content-type": content_type}
455+
headers = {"content-type": content_type, "Accept" : "application/json"}
456456

457457
r = None
458458
try:

0 commit comments

Comments
 (0)