added log to server's response.text as html file for debugging purposes.