diff --git a/python-ecosys/requests/requests/__init__.py b/python-ecosys/requests/requests/__init__.py index 2951035f7..20a88a2ab 100644 --- a/python-ecosys/requests/requests/__init__.py +++ b/python-ecosys/requests/requests/__init__.py @@ -71,6 +71,10 @@ def request( import tls port = 443 + elif proto == "file:": + r = Response(open(url[7:], "b")) + r.status_code = 200 + return r else: raise ValueError("Unsupported protocol: " + proto)
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: