GlobalNOC / GRNOC-WebService

GRNOC::WebService Perl Module
Apache License 2.0
0 stars 5 forks source link

SCTASK0067969 Responses using the provided $method->set_error have a content type of text/plain #20

Closed jonstout closed 3 years ago

jonstout commented 3 years ago

Error payloads are json payloads and should have a content-type of application/json. This causes our Python web service client to throw an exception, and I don't believe it's recoverable.

khood5 commented 3 years ago

fix by merge d7aa91e06634ceaf6c3b45338df2077ad4001b03 branch "SCTASK0067969_change_response_type_of_Method_pm_to_application_json" into "master"

jonstout commented 3 years ago

fixed in #21