Parse the accept header in accordance with RFC2616
Bug #1376379 reported by
Devdatta Kulkarni
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Solum |
Triaged
|
Low
|
Gilbert Pilz |
Bug Description
Currently for supporting yaml/json content in plan creation, we are using Accept header as the mechanism for specifying whether the content is yaml or json.
Our parsing of Accept header is simplistic. We are doing a 'contains' check to check if the sent data is of type 'yaml'.
https:/
As pointed out in comments on that patch just using a 'contains' check is not enough.
This bug is to track this work.
Changed in solum: | |
assignee: | nobody → Gilbert Pilz (gilbert.pilz) |
Changed in solum: | |
importance: | Undecided → Low |
status: | New → Triaged |
milestone: | none → 2015.1.1 |
tags: | added: solum-api |
To post a comment you must log in.