content length was incorrect for HTML content, and was throwing an request error.