← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1887815] [NEW] Neutron API - problem parsing semi-colon in Accept header

 

Public bug reported:

when GET is sent with “Accept: application/json; charset=utf-8”, we
receive the following Neutron error:


$ curl -s -H "Accept: application/json; charset=utf-8" -H "X-Auth-Token: $OS_TOKEN" "http://10.240.50.25:9696/v2.0/networks"; | python -mjson.tool

{
    "NeutronError": {

        "detail": "",

        "message": "The server could not comply with the request since
it is either malformed or otherwise incorrect.",

        "type": "HTTPNotAcceptable"

    }

}

This happens on core resources and not extension resources.

** Affects: neutron
     Importance: Undecided
     Assignee: Dan Radez (dradez)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Dan Radez (dradez)

** Changed in: neutron
       Status: New => In Progress

** Bug watch added: github.com/Pylons/webob/issues #403
   https://github.com/Pylons/webob/issues/403

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1887815

Title:
  Neutron API - problem parsing semi-colon in Accept header

Status in neutron:
  In Progress

Bug description:
  when GET is sent with “Accept: application/json; charset=utf-8”, we
  receive the following Neutron error:

  
  $ curl -s -H "Accept: application/json; charset=utf-8" -H "X-Auth-Token: $OS_TOKEN" "http://10.240.50.25:9696/v2.0/networks"; | python -mjson.tool

  {
      "NeutronError": {

          "detail": "",

          "message": "The server could not comply with the request since
  it is either malformed or otherwise incorrect.",

          "type": "HTTPNotAcceptable"

      }

  }

  This happens on core resources and not extension resources.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1887815/+subscriptions