AuthenticatedQueryService corrupts binary files (Zip) on download
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.
#1 Updated by ben leinfelder about 12 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