def _make_html_page(response, cache_link_parsing=True):
    encoding = _get_encoding_from_headers(response.headers)
    return HTMLPage(response.content, encoding=encoding, url=response.url, cache_link_parsing=cache_link_parsing)
def _make_html_page(response, cache_link_parsing=True):
    encoding = _get_encoding_from_headers(response.headers)
    return HTMLPage(response.content, encoding=encoding, url=response.url, cache_link_parsing=cache_link_parsing)