Typo in utils.http.request, 'response_heders' -> 'response_headers'

This commit is contained in:
jesopo 2018-12-11 22:31:14 +00:00
parent 5b59740043
commit 2d3bb2b5e8

View file

@ -62,7 +62,7 @@ def request(url: str, method: str="GET", get_params: dict={},
if soup:
soup = bs4.BeautifulSoup(response_content, parser)
return Response(response.status_code, soup, response_heders)
return Response(response.status_code, soup, response_headers)
data = response_content.decode(response.encoding or fallback_encoding)
if json and data: