Closed kiskit closed 2 years ago
You are right - the mime type shall be application/json according to the specification:
When reporting errors back to clients, NGSI-LD implementations shall generate a JSON object in accordance with IETF RFC 7807 [10], section 3.1, including, at least the following terms:
Even though IETF RFC 7807 [10] defines a specific MIME type for error payloads, NGSI-LD implementations shall use the standard JSON MIME type ("application/json") when reporting errors, so that old clients or existing tools are not broken.
@developing team: please fix!
Hi, Currently working on this issue.
Thanks.
Hi, We have fixed this issue #313
Thanks.
Hi, Now we have merged in Dev branch.
Thanks.
Hello,
When sending a request ending in error, with an
Accept
header set to*/*
, the response is sent withContent-Type
set totext/plain
. Shouldn't it beapplication/json
?Example:
Provides:
With Content-Type set to
text/plain;charset=UTF-8