Skip to content

Commit

Permalink
Fix the mimetype of the raw data output
Browse files Browse the repository at this point in the history
  • Loading branch information
gschwind committed Apr 22, 2021
1 parent 2c90d18 commit a9cd649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywps/response/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def __call__(self, request):
if wps_output_value.source_type is None:
return NoApplicableCode("Expected output was not generated")
return Response(wps_output_value.data,
mimetype=self.wps_request.outputs[wps_output_identifier].get('mimetype', None))
mimetype=wps_output_value.data_format.mime_type)
else:
if not self.doc:
return NoApplicableCode("Output was not generated")
Expand Down

0 comments on commit a9cd649

Please sign in to comment.