change uri to path
This commit is contained in:
parent
a57727a1c7
commit
67a7b82efe
@ -94,7 +94,7 @@ class MainHandler(tornado.web.RequestHandler):
|
|||||||
proxy = None
|
proxy = None
|
||||||
if provider is not None and provider in providers.keys():
|
if provider is not None and provider in providers.keys():
|
||||||
proxy = proxies.get(provider)
|
proxy = proxies.get(provider)
|
||||||
src = providers[provider] + self.request.uri
|
src = providers[provider] + self.request.path
|
||||||
try:
|
try:
|
||||||
resp = requests.head(src)
|
resp = requests.head(src)
|
||||||
if resp is not None:
|
if resp is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user