The HTTP Content-Type header should correctly represent the Science Metadata when downloaded.
For instance, EML , TIFF, and RDF documents should have Content-Type of text/xml, image/tiff, and application/rdf+xml respectively.
#2 Updated by Chris Jones about 8 years ago
- Assignee set to Chris Jones
- Status changed from New to In Progress
The science metadata objects are being returned with a Content-Type of application/octet-stream:
$ curl -i https://dataone-test.pop.umn.edu/mn/v1/object/ipumsi_6-3_at_2001.dc.xml
HTTP/1.1 200 OK
Date: Sat, 06 Sep 2014 03:34:07 GMT
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
This needs to be changed to either application/xml or text/xml.