Fixed a bug in s.contrib.http.server.HttpServer