← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1399851] [NEW] Glance should return 206 when fulfilling a request using the Range header

 

Public bug reported:

When downloading a specific image from glance, a user can specify a
Range to download. If the server successfully fulfills that request it
should return a 206 (Partial Content) response described in RFC 7233
[1]. Currently, the v2 controller [2]  does not properly set the 206
response code for a partial response.

[1]: https://tools.ietf.org/html/rfc7233#section-4 
[2]: https://github.com/openstack/glance/blob/038cf5403e5b7b3620884db6d7534541b5515eac/glance/api/v2/image_data.py#L196..L228

** Affects: glance
     Importance: Undecided
         Status: New

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

Title:
  Glance should return 206 when fulfilling a request using the Range
  header

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

Bug description:
  When downloading a specific image from glance, a user can specify a
  Range to download. If the server successfully fulfills that request it
  should return a 206 (Partial Content) response described in RFC 7233
  [1]. Currently, the v2 controller [2]  does not properly set the 206
  response code for a partial response.

  [1]: https://tools.ietf.org/html/rfc7233#section-4 
  [2]: https://github.com/openstack/glance/blob/038cf5403e5b7b3620884db6d7534541b5515eac/glance/api/v2/image_data.py#L196..L228

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


Follow ups

References