From 80461fa17f1622568b2c3f1b02dfb96a29101f0b Mon Sep 17 00:00:00 2001 From: Kaoru Date: Sat, 29 Feb 2020 12:01:40 -0600 Subject: [PATCH] Update http.cpp --- source/http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/http.cpp b/source/http.cpp index 53f28c1..eae32cb 100644 --- a/source/http.cpp +++ b/source/http.cpp @@ -21,7 +21,7 @@ void httpGet(const char* url, u8** buf, u32* size, const bool verbose, HTTPRespo // Handle 3xx codes if (statuscode >= 300 && statuscode < 400) { char newUrl[1024]; - CHECK(httpc.GetResponseHeader(&context, (char*)"Location", newUrl, 1024), "Could not get Location header for 3xx reply"); + CHECK(httpc.GetResponseHeader(&context, (char*)"location", newUrl, 1024), "Could not get Location header for 3xx reply"); CHECK(httpc.CloseContext(&context), "Could not close HTTP context"); httpGet(newUrl, buf, size, verbose, info); return;