Actions
Bug #4432
closedAuthenticatedQueryService corrupts binary files (Zip) on download
Start date:
10/01/2009
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
4432
Description
It appears that all files are being treated as text when downloaded through the AuthenticatedQueryService.get() method.
We need to handle binary data, of course.
Updated by ben leinfelder about 15 years ago
Turns out this is a MetacatClient bug at it's core.
MC was returning a Reader for all read() calls. But this uses characters and is not appropriate for binary data (ie a Zip file).
Changing the method to return an InputStream - then we can handle both text and binary
Updated by ben leinfelder about 15 years ago
this just needs to be deployed (to dev.nceas.ucsb.edu first).
Actions