Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WireCloud proxy adds a Content-Type header to the requests #237

Closed
aarranz opened this issue Oct 10, 2016 · 0 comments
Closed

WireCloud proxy adds a Content-Type header to the requests #237

aarranz opened this issue Oct 10, 2016 · 0 comments
Assignees
Milestone

Comments

@aarranz
Copy link
Member

aarranz commented Oct 10, 2016

Seems that Django or the WSGI is adding a default value for the Content_Type meta value so the proxy is not able to detect if the request provides a Content-Type header or not.

This has been detected on a request to the v2 API of the context broker:

{
    "error": "BadRequest",
    "description": "Orion accepts no payload for GET/DELETE requests. HTTP header Content-Type is thus forbidden"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant