support rewrite whole href in head and body of text/html response, remove keyword argument