Project

General

Profile

Task #4032

Updated by Chris Jones about 11 years ago

In reviewing the KUBI content, I noticed that the HTTP Content-Type header field seems to always be set to:
<pre>
Content-Type: text/html; charset=utf-8
</pre>

This may be the default for the web server, but when downloading objects of different MIME types, they should be typed correctly. For instance, the following EML , TIFF, and RDF documents should have Content-Type values of text/xml, image/tiff, and application/rdf+xml respectfully:

https://bidataone.nhm.ku.edu/mn/v1/object/kubi.lifemapper.sdm.layers.516.eml
https://bidataone.nhm.ku.edu/mn/v1/object/kubi.lifemapper.sdm.layers.516.tif (big file, careful clicking here!)
https://bidataone.nhm.ku.edu/mn/v1/object/kubi.lifemapper.sdm.layers.516

This will enable browsers to render content correctly, and in the case of the TIFF image, will allow the browser to hand the file off to an application that can render the TIFF image.

Assigned to Roger until we get CJ and Aimee registered in redmine.

Back

Add picture from clipboard (Maximum size: 14.8 MB)