'utils.http.get_url' -> 'utils.http.request' (github.py)

This commit is contained in:
jesopo 2018-12-11 22:40:20 +00:00
parent 2d3bb2b5e8
commit 843d517553

View file

@ -105,7 +105,7 @@ class Module(ModuleManager.BaseModule):
return ""
def _short_url(self, url):
page = utils.http.get_url("https://git.io", method="POST",
page = utils.http.request("https://git.io", method="POST",
post_data={"url": url})
return page.headers["Location"]