Project

General

Profile

Actions

Bug #196

closed

Metacat READ function should set mime type

Added by Matt Jones almost 23 years ago. Updated almost 22 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 #.

Actions #1

Updated by Jivka Bojilova almost 23 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).

Actions #2

Updated by Jivka Bojilova almost 23 years ago

FIXED

Actions #3

Updated by Redmine Admin almost 11 years ago

Original Bugzilla ID was 196

Actions

Also available in: Atom PDF