https://redmine.dataone.org/https://redmine.dataone.org/favicon.ico2012-07-16T16:08:00ZDataONE TasksInfrastructure - Bug #3070: Content type not set appropriately for content retrieved from PISCOhttps://redmine.dataone.org/issues/3070?journal_id=129952012-07-16T16:08:00ZBen Leinfelderleinfelder@nceas.ucsb.edu
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul><p>Right now we are handlings only a few format types and defaulting the rest to text/xml:<br>
"Content-Disposition" --> "inline; filename=" + id.getValue() + ".xml"<br>
Not sure if this is really appropriate.</p>
Infrastructure - Bug #3070: Content type not set appropriately for content retrieved from PISCOhttps://redmine.dataone.org/issues/3070?journal_id=130092012-07-17T18:48:49ZBen Leinfelderleinfelder@nceas.ucsb.edu
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li></ul><p>Until we have MIME type in the ObjectFormat list, we will use this alg:<br>
-default to application/octet-stream<br>
-use any "text/<em>" formats as is<br>
-use any "image/</em>" formats as is<br>
-use any "application/*" formats as is<br>
- use "text/xml" for all METADATA typed object formats</p>