The get_servername() method of the cgiapp and fcgiapp Request classes now use the HTTP_HOST environment variable rather than SERVER_NAME.