← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1276887] [NEW] Glance uses INVALID HTTP header names - with underscore in their name

 

Public bug reported:

These headers:
x-image-meta-container_format: bare
x-image-meta-disk_format: qcow2
x-image-meta-is_public: True

are not valid HTTP headers - these should not contain underscores.

HTTP proxies such as nginx (which are used e.g. for SSL termination)
strip these headers by default.

I believe it is a bug since Glance should be HTTP-compliant.

** Affects: glance
     Importance: Undecided
         Status: New


** Tags: glance-api

** Tags added: glance-api

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

Title:
  Glance uses INVALID HTTP header names - with underscore in their name

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

Bug description:
  These headers:
  x-image-meta-container_format: bare
  x-image-meta-disk_format: qcow2
  x-image-meta-is_public: True

  are not valid HTTP headers - these should not contain underscores.

  HTTP proxies such as nginx (which are used e.g. for SSL termination)
  strip these headers by default.

  I believe it is a bug since Glance should be HTTP-compliant.

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


Follow ups

References