Skip to content

[notifier] api/v1/notification returns contentType: text/plain when application/json is expected #1523

@mieliespoor

Description

@mieliespoor

Description of Problem / Feature Request

The api call /notifier/api/v1/notification/{id} returns with Content-Type: text/plain where application/json is expected. Even if we specify the application/json in the accept header, we still get a plain text response. Would be great if this could be fixed in the upcoming 4.4 release.

Expected Outcome

Content-Type: application/json

Actual Outcome

Content-Type: text/plain

Environment

N/A

  • Clair version/image: 4.3.5
  • Clair client name/version:
  • Host OS: Docker Container on AWS ECS

Metadata

Metadata

Assignees

Labels

triagedThe maintainers have seen this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions