← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1150380] Re: Glance server ignores Accept-Encoding

 

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

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

Title:
  Glance server ignores Accept-Encoding

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

Bug description:
  Glance server doesn't compress responses even thought the request
  correctly sends Accept-Encoding.

  $ glance --debug image-list                                                                                                                                        
  curl -i -X GET -H 'X-Auth-Token: aca2aa0abfb347fe8b807034baa32ddb' -H 'Accept-Encoding: gzip, deflate, compress' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Content-Type: application/octet-stream' http://192.168.25.25:9292http://192.168.25.25:9292//v1/images/detail?sort_key=name&sort_dir=asc&limit=20

  HTTP/1.1 200 OK
  date: Wed, 06 Mar 2013 20:47:44 GMT
  content-length: 2267
  content-type: application/json; charset=UTF-8
  x-openstack-request-id: req-2091d29f-8afd-4bd7-86a4-e12829fdd6c0

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