Fix missing throw in HttpServer