← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1241387] Re: Incorrect Content-Type can upload image

 

** Changed in: glance
       Status: Fix Committed => Fix Released

** Changed in: glance
    Milestone: None => icehouse-1

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

Title:
  Incorrect Content-Type can upload image

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

Bug description:
  Incorrect Content-Type can upload image,details are as follows:
  ...
  upload image using incorrect Content-Type:
  curl -i -H "Content-Type:application/octet-st" -H "X-Auth-Token:480194c5e9a046b9be8150c80c7f439b" -X PUT -T ./test.img http://127.0.0.1:9292/v2/images/04059ffa-56fa-4f67-a294-fdc10372e634/file

  Content-Type is application/octet-st but not application/octet-
  stream,is it a bug?

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