This repository was archived by the owner on Sep 6, 2018. It is now read-only.

Description
Version or commit hash:
4.0.2
Explanation of issue:
I'm not sure if this is an issue with the way I'm doing this, but I cannot seem to download a jar file, and then write it to a file using fs. Here's the example code below.
I know for a fact that the URL below works fine, because when I open the JAR after I download it via chrome using 7-zip, it opens fine. When I open it after a snekfetch download, though, it errors.
Example code to reproduce:
request.get('https://libraries.minecraft.net/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar').then(r => fs.writeFileSync('./mything.jar', r.body));