Comment 1 for bug 1243878

Revision history for this message
Lorin Hochstein (lorinh) wrote :

Note that the EC2 metadata service is also returning the incorrect content type. It is returning text/html instead of text/plain

On OpenStack (grizzly):

$ http get http://169.254.169.254/2009-04-04/meta-data/ami-id
HTTP/1.1 200 OK
Content-Length: 12
Content-Type: text/html; charset=UTF-8
Date: Wed, 23 Oct 2013 19:16:02 GMT

ami-00000005

On Amazon EC2:

$ http get http://169.254.169.254/2009-04-04/meta-data/ami-id
HTTP/1.0 200 OK
Accept-Ranges: bytes
Connection: close
Content-Length: 12
Content-Type: text/plain
Date: Wed, 23 Oct 2013 19:16:12 GMT
ETag: "1713461041"
Last-Modified: Thu, 20 Jun 2013 13:21:54 GMT
Server: EC2ws

ami-852352ec