Ok, I fixed it by using another download function. I now have a new problem: when downloading a ZIP file, it stops on the first "0x00" character or NULL character, and returns without continuing past that character. Here is the code for the download:
bool httpGet(const char* url, u8** buf, u32*...