tostring of response body corrupts download of binary files
mattimatti opened this issue · comments
mattimatti commented
Maybe not purpose of the library itself to download binary files but on line 250:
response.body = response.body.toString();
corrupts download of binary files
Ciao!
:m
Deleted user commented
Same as #9 (comment)
I'll add this to the roadmap
Deleted user commented
Same field as #53
Mike Chen commented
Just set encoding=null, so that crawler won't try to convert to string.
P.M. commented
setting encoding to null trows exception:
TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: null
So this is not an option either...