Fix: Correct the HttpRequest class to work with 400+ HTTP errors
Signed-off-by: Nightmaster <nightmaster@seitaer.com>