Project

General

Profile

Revision 6691

match documentation for the MN.describe() header
https://redmine.dataone.org/issues/1904

View differences:

src/edu/ucsb/nceas/metacat/restservice/MNResourceHandler.java
731 731
        response.addHeader("DataONE-Checksum", dr.getDataONE_Checksum().getAlgorithm() + "," + dr.getDataONE_Checksum().getValue());
732 732
        response.addHeader("Content-Length", dr.getContent_Length() + "");
733 733
        response.addHeader("Last-Modified", DateTimeMarshaller.serializeDateToUTC(dr.getLast_Modified()));
734
        response.addHeader("DataONE-fmtid", dr.getDataONE_ObjectFormatIdentifier().getValue());
734
        response.addHeader("DataONE-ObjectFormat", dr.getDataONE_ObjectFormatIdentifier().getValue());
735 735
        
736 736
    }
737 737
    

Also available in: Unified diff