← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1243878] Re: metadata service returns Content-Type: text/html

 

** Also affects: neutron
   Importance: Undecided
       Status: New

** Changed in: neutron
     Assignee: (unassigned) => Sridhar Gaddam (sridhargaddam)

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

Title:
  metadata service returns Content-Type: text/html

Status in OpenStack Neutron (virtual network service):
  In Progress
Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  When making an http request against the OpenStack metadata service, it
  returns "Content-Type: text/html", despite the returned content being
  in json format.

  For example (using httpie):

  $ http get http://169.254.169.254/openstack/latest/meta_data.json
  HTTP/1.1 200 OK
  Content-Length: 1283
  Content-Type: text/html; charset=UTF-8
  Date: Wed, 23 Oct 2013 18:55:17 GMT

  {"random_seed": ... }

  The returned content type should really be something like:

  Content-Type: application/json; charset=UTF-8


  Version: grizzly

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