← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1392270] Re: POST /v2/images succeds without any POST data

 

Ajaya, could you confirm that performing the curl request returns a 204?
If so, I believe this is certainly a bug. Glance should reject an empty
request body like this. Thanks in advance!

** Changed in: glance
       Status: Won't Fix => Incomplete

** Changed in: glance
   Importance: Undecided => Low

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

Title:
  POST /v2/images succeds without any POST data

Status in OpenStack Image Registry and Delivery Service (Glance):
  Incomplete

Bug description:
  The exact request is:

  curl -i -X POST -H 'User-Agent: python-glanceclient' -H 'Content-Type:
  application/json' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*'
  -H 'X-Auth-Token: {SHA1}2d5b305e1ea690482d697a6971130f1efd04fbc2' -d
  '{}' http://127.0.0.1:9292/v2/images

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


References