Project

General

Profile

Bug #196

Metacat READ function should set mime type

Added by Matt Jones over 18 years ago. Updated over 17 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Jivka Bojilova
Category:
metacat
Target version:
Start date:
04/09/2001
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
196

Description

Metacat read fucntion should set the Content-header: to contain the appropriate
mime-type for the data being returned. This will allow clients to distinguish
metadata downloads (text/xml) from data downloads (application/octet-stream) and
allow any object from metacat to be requested using only the accession #.

History

#1 Updated by Jivka Bojilova over 18 years ago

DONE
put MIME type everywhere on return on "read" action. Set metadata returns to
"text/html" or "text/xml". Set zip returns to "application/zip". The servlet
context guesses the MIME type of the other returned data by its interface
getMimeType(filename).

#2 Updated by Jivka Bojilova over 18 years ago

FIXED

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 196

Also available in: Atom PDF