Remove .html file extension from requests