Commit 248a8e24 authored by Lucas Carvalho's avatar Lucas Carvalho

We should also return the scheme defined by the url.

parent 1d62e8ac
...@@ -48,6 +48,7 @@ class NetworkcacheClient(object): ...@@ -48,6 +48,7 @@ class NetworkcacheClient(object):
return_dict['path'] = parsed_url.path return_dict['path'] = parsed_url.path
return_dict['host'] = parsed_url.hostname return_dict['host'] = parsed_url.hostname
return_dict['scheme'] = parsed_url.scheme
return_dict['port'] = parsed_url.port or \ return_dict['port'] = parsed_url.port or \
socket.getservbyname(parsed_url.scheme) socket.getservbyname(parsed_url.scheme)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment