jupyterlite-simple-cors-proxy 0.1.5__tar.gz → 0.1.6__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {jupyterlite_simple_cors_proxy-0.1.5 → jupyterlite_simple_cors_proxy-0.1.6}/PKG-INFO +1 -1
- jupyterlite_simple_cors_proxy-0.1.6/jupyterlite_simple_cors_proxy/__init__.py +5 -0
- {jupyterlite_simple_cors_proxy-0.1.5 → jupyterlite_simple_cors_proxy-0.1.6}/jupyterlite_simple_cors_proxy/proxy.py +2 -2
- {jupyterlite_simple_cors_proxy-0.1.5 → jupyterlite_simple_cors_proxy-0.1.6}/jupyterlite_simple_cors_proxy.egg-info/PKG-INFO +1 -1
- {jupyterlite_simple_cors_proxy-0.1.5 → jupyterlite_simple_cors_proxy-0.1.6}/setup.py +1 -1
- jupyterlite_simple_cors_proxy-0.1.5/jupyterlite_simple_cors_proxy/__init__.py +0 -5
- {jupyterlite_simple_cors_proxy-0.1.5 → jupyterlite_simple_cors_proxy-0.1.6}/LICENSE +0 -0
- {jupyterlite_simple_cors_proxy-0.1.5 → jupyterlite_simple_cors_proxy-0.1.6}/README.md +0 -0
- {jupyterlite_simple_cors_proxy-0.1.5 → jupyterlite_simple_cors_proxy-0.1.6}/jupyterlite_simple_cors_proxy.egg-info/SOURCES.txt +0 -0
- {jupyterlite_simple_cors_proxy-0.1.5 → jupyterlite_simple_cors_proxy-0.1.6}/jupyterlite_simple_cors_proxy.egg-info/dependency_links.txt +0 -0
- {jupyterlite_simple_cors_proxy-0.1.5 → jupyterlite_simple_cors_proxy-0.1.6}/jupyterlite_simple_cors_proxy.egg-info/requires.txt +0 -0
- {jupyterlite_simple_cors_proxy-0.1.5 → jupyterlite_simple_cors_proxy-0.1.6}/jupyterlite_simple_cors_proxy.egg-info/top_level.txt +0 -0
- {jupyterlite_simple_cors_proxy-0.1.5 → jupyterlite_simple_cors_proxy-0.1.6}/setup.cfg +0 -0
@@ -6,8 +6,8 @@ import io
|
|
6
6
|
import platform
|
7
7
|
PLATFORM = platform.system().lower()
|
8
8
|
|
9
|
-
def xurl(url, params=None):
|
10
|
-
if PLATFORM=="emscripten":
|
9
|
+
def xurl(url, params=None, force=False):
|
10
|
+
if PLATFORM=="emscripten" or force:
|
11
11
|
if params:
|
12
12
|
url = f"{url}?{urlencode(params)}"
|
13
13
|
url = f"https://corsproxy.io/{quote(url)}"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|