Project

General

Profile

Bug #6959

http response charset not included

Added by Peter Slaughter over 3 years ago.

Status:
New
Priority:
Normal
Category:
metacat
Target version:
-
Start date:
02/10/2016
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

Metacat doesn't include the content type charset in the http response headers:

curl -o test.dat -v "https://knb.ecoinformatics.org/knb/d1/mn/v2/object/solson.25.5" returns

Content-Type: text/csv

but should be something like:

Content-Type: text/xml;charset=UTF-8

so that the client doesn't have to assume the charset

Also available in: Atom PDF