Closed luislobo closed 2 years ago
Our production Nginx configuration has set charset utf-8; making Content-Type header to be application/json; charset=utf-8, not just application/json.
charset utf-8;
Content-Type
application/json; charset=utf-8
application/json
@stackstorm/module-api compares headers['content-type'] to be exactly application/json.
@stackstorm/module-api
headers['content-type']
I'll be creating a PR that fixes this problem.
Our production Nginx configuration has set
charset utf-8;
makingContent-Type
header to beapplication/json; charset=utf-8
, not justapplication/json
.@stackstorm/module-api
comparesheaders['content-type']
to be exactlyapplication/json
.I'll be creating a PR that fixes this problem.