Comment 4 for bug 1243878

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/75902
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=50da460869661ba63971a17c9c1b514bf22874a2
Submitter: Jenkins
Branch: master

commit 50da460869661ba63971a17c9c1b514bf22874a2
Author: sridhargaddam <email address hidden>
Date: Mon Feb 24 20:51:31 2014 +0530

    Include proper Content-Type in the HTTP response headers

    Neutron namespace proxy handler and metadata agent were not setting the
    Content-Type in its response. Both of them were returning only the response
    data which is obtained from the nova-metadata-service. Since they were returning
    only the response data, the Content-Type returned to the clients has the default
    one which is - "text/html". Ideally this should be set to the data type which is
    present in the HTTP Response. The fix now includes the Content-Type which is
    returned by nova-metadata-service

    Closes-Bug: #1243878
    Change-Id: If68f0b508fbea4ecd1eb0e58d602b5ba6ccbe263