Skip to content

Set the Content-Type header to ""application/json; charset=UTF-8"  #560

@ninzavivek

Description

@ninzavivek

Is this a request for help?:

No

Is this an ISSUE or FEATURE REQUEST? (choose one):

Issue

Which release version?:

1.1.0

Which component (CNI/IPAM/CNM/CNS):

CNS

Which Operating System (Linux/Windows):

Both

For Linux: Include Distro and kernel version using "uname -a"

NA-

For windows: provide output of "$(Get-ItemProperty -Path "C:\windows\system32\hal.dll").VersionInfo.FileVersion"

NA

Which Orchestrator and version (e.g. Kubernetes, Docker)


What happened:

If a cns client looks for the the content type header (enforces) before decoding the response, then decoding the response will fail

What you expected to happen:


How to reproduce it (as minimally and precisely as possible):


Anything else we need to know:


Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions