Task #5939
MNDeployment #3708: Minnesota Population Center
Task #5921: MPC: Testing
Task #5922: MPC: Registration in environment
Task #5933: MPC: Content Review
Task #5937: MPC: Verify Science Metadata
MPC: Verify Science Metadata is returned with the correct HTTP Content-Type
100%
Description
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.
History
#1 Updated by Laura Moyers over 10 years ago
- Target version changed from Deploy by end of Y5Q4 to Deploy by end of Y1Q1
#2 Updated by Chris Jones over 10 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
Server: Apache
DataONE-SerialVersion: 2
DataONE-Checksum: MD5,686ef3acd3bc0e11290b5f796ae288de
DataONE-formatId: application/octet-stream
Content-Length: 9713
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: application/octet-stream
This needs to be changed to either application/xml or text/xml.
#3 Updated by Chris Jones over 10 years ago
- Status changed from In Progress to Closed
- translation missing: en.field_remaining_hours set to 0.0
Verified.
#4 Updated by Laura Moyers about 10 years ago
- Target version changed from Deploy by end of Y1Q1 to Deploy by end of NCTE
#5 Updated by Laura Moyers almost 10 years ago
- Target version changed from Deploy by end of NCTE to Operational
#6 Updated by Laura Moyers almost 10 years ago
- Estimated time set to 0.00
- % Done changed from 0 to 100