Public bug reported:

When trying to download any image under apache+mod_wsgi glance logs responses 
with Type Error: expected byte str, got unicode without any useful information.
It seems that one of headers is decoded as unicode which can cause problem on 
different web-servers (apache is one of examples).
Steps to reproduce:
1. Deploy glance-api under apache
2. try to download any image
ER: Type Error: expected byte str, got 
AR: all good

** Affects: glance
     Importance: Undecided
     Assignee: Kairat Kushaev (kkushaev)
         Status: In Progress

** Changed in: glance
     Assignee: (unassigned) => Kairat Kushaev (kkushaev)

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

Title:
  Safely encode checksum to use glance with apache

Status in Glance:
  In Progress

Bug description:
  When trying to download any image under apache+mod_wsgi glance logs responses 
with Type Error: expected byte str, got unicode without any useful information.
  It seems that one of headers is decoded as unicode which can cause problem on 
different web-servers (apache is one of examples).
  Steps to reproduce:
  1. Deploy glance-api under apache
  2. try to download any image
  ER: Type Error: expected byte str, got 
  AR: all good

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to