← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1160982] Re: List servers with a request body should return 400 Bad Request

 

closing bug as per discussion  on patch

** Changed in: nova
       Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1160982

Title:
  List servers with a request body should return 400 Bad Request

Status in OpenStack Compute (Nova):
  Won't Fix

Bug description:
  A GET /servers/detail request containing a body does not return a
  BadRequest.

  
  Request:
  curl -i http://176.78.165.15:8774/v2/339822f0d748407fb69b678cc80c2496/servers/detail -X GET -H "X-Auth-Project-Id: demo" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: MIIKpAYJKoZIhZw==" -d "{}"

  
  Response:
  {"servers": []}

  
  Since nova would not use a request body in this case it should give a bad request.

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