samvera / hydra-works

A ruby gem implementation of the PCDM Works domain model based on the Samvera software stack
Other
24 stars 14 forks source link

Only use mime-type as defined on the file in ActiveFedora #299

Closed awead closed 8 years ago

awead commented 8 years ago

This adjusts HydraWorks to align with recent changes in ActiveFedora regarding mime-type. It also addresses a small bug found with using this with Sufia. In passing a File object for upload, the file will have already been read by an ingest job and therefore needs to be rewound to the beginning in order to be read again for characterization.

awead commented 8 years ago

@jcoyne ping.