jupyterlite-simple-cors-proxy 0.1.12__py3-none-any.whl → 0.1.14__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- jupyterlite_simple_cors_proxy/cacheproxy.py +2 -2
- jupyterlite_simple_cors_proxy/proxy.py +1 -1
- {jupyterlite_simple_cors_proxy-0.1.12.dist-info → jupyterlite_simple_cors_proxy-0.1.14.dist-info}/METADATA +1 -1
- jupyterlite_simple_cors_proxy-0.1.14.dist-info/RECORD +9 -0
- jupyterlite_simple_cors_proxy-0.1.12.dist-info/RECORD +0 -9
- {jupyterlite_simple_cors_proxy-0.1.12.dist-info → jupyterlite_simple_cors_proxy-0.1.14.dist-info}/LICENSE +0 -0
- {jupyterlite_simple_cors_proxy-0.1.12.dist-info → jupyterlite_simple_cors_proxy-0.1.14.dist-info}/WHEEL +0 -0
- {jupyterlite_simple_cors_proxy-0.1.12.dist-info → jupyterlite_simple_cors_proxy-0.1.14.dist-info}/top_level.txt +0 -0
@@ -8,7 +8,7 @@ from typing import Optional, Union
|
|
8
8
|
|
9
9
|
PLATFORM = platform.system().lower()
|
10
10
|
CORS_PROXIES = {
|
11
|
-
"corsproxyio": {"url": "https://corsproxy.io/?url={}", "quote":
|
11
|
+
"corsproxyio": {"url": "https://corsproxy.io/?url={}", "quote": True},
|
12
12
|
"allorigins": {"url": "https://api.allorigins.win/raw?url={}", "quote": True},
|
13
13
|
"none": {"url": "{}", "quote": False},
|
14
14
|
}
|
@@ -102,7 +102,7 @@ class CorsProxy:
|
|
102
102
|
Returns:
|
103
103
|
A requests response object.
|
104
104
|
"""
|
105
|
-
proxy_url = self.xurl(url, params, force)
|
105
|
+
proxy_url = self.xurl(url, params, force)
|
106
106
|
return self.session.get(proxy_url)
|
107
107
|
|
108
108
|
def robust_get_request(
|
@@ -7,7 +7,7 @@ import platform
|
|
7
7
|
|
8
8
|
PLATFORM = platform.system().lower()
|
9
9
|
CORS_PROXIES = {
|
10
|
-
"corsproxyio": {"url": "https://corsproxy.io/?url={}", "quote":
|
10
|
+
"corsproxyio": {"url": "https://corsproxy.io/?url={}", "quote": True},
|
11
11
|
"allorigins": {"url": "https://api.allorigins.win/raw?url={}", "quote": True},
|
12
12
|
"none": {"url": "{}", "quote": False},
|
13
13
|
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
jupyterlite_simple_cors_proxy/__init__.py,sha256=vE2WKSaR1d-lu1EoKN3obCHFUB-oowD7I1jwEl5qvok,280
|
2
|
+
jupyterlite_simple_cors_proxy/cacheproxy.py,sha256=svCmdb6j06PcU2zmG0ppe6S1-f0GPwGmkxIemwkeYJc,4464
|
3
|
+
jupyterlite_simple_cors_proxy/fastf1_proxy.py,sha256=FglRogTIlSJvHOu6lFS3S-EHDb37M93aYjQpoKc1QYs,7614
|
4
|
+
jupyterlite_simple_cors_proxy/proxy.py,sha256=jJgoawJxXFCSazwkV3jb6R1uMc7lrkpHgOCrcwAY06w,2477
|
5
|
+
jupyterlite_simple_cors_proxy-0.1.14.dist-info/LICENSE,sha256=Ogw7GUmeZIxmDNiKWsu_N07svNoGnPB7lWyiXHX_rMY,1074
|
6
|
+
jupyterlite_simple_cors_proxy-0.1.14.dist-info/METADATA,sha256=ABX3wMk5WEcG7_Fc2SphBs_wRhjskTn6L8rzSnP5Jqw,3144
|
7
|
+
jupyterlite_simple_cors_proxy-0.1.14.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
|
8
|
+
jupyterlite_simple_cors_proxy-0.1.14.dist-info/top_level.txt,sha256=Oh0oQrSmRnBq5u675coiKMbkb2ASg8AGF8ZiZTzUS5Q,30
|
9
|
+
jupyterlite_simple_cors_proxy-0.1.14.dist-info/RECORD,,
|
@@ -1,9 +0,0 @@
|
|
1
|
-
jupyterlite_simple_cors_proxy/__init__.py,sha256=vE2WKSaR1d-lu1EoKN3obCHFUB-oowD7I1jwEl5qvok,280
|
2
|
-
jupyterlite_simple_cors_proxy/cacheproxy.py,sha256=H-PCbg5qQ9Tn-kQzALpIrfkJzQoIuv5ZKR4vK8fzUIk,4472
|
3
|
-
jupyterlite_simple_cors_proxy/fastf1_proxy.py,sha256=FglRogTIlSJvHOu6lFS3S-EHDb37M93aYjQpoKc1QYs,7614
|
4
|
-
jupyterlite_simple_cors_proxy/proxy.py,sha256=HkPMY1Tq8Cm4w7nNnzdw8uiRpVuCBj0PtW5Dhk5xQ2c,2478
|
5
|
-
jupyterlite_simple_cors_proxy-0.1.12.dist-info/LICENSE,sha256=Ogw7GUmeZIxmDNiKWsu_N07svNoGnPB7lWyiXHX_rMY,1074
|
6
|
-
jupyterlite_simple_cors_proxy-0.1.12.dist-info/METADATA,sha256=9BU-LuRYblp6muW1R_0GzYRd1OGbIpffkO0O8M5sVLE,3144
|
7
|
-
jupyterlite_simple_cors_proxy-0.1.12.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
|
8
|
-
jupyterlite_simple_cors_proxy-0.1.12.dist-info/top_level.txt,sha256=Oh0oQrSmRnBq5u675coiKMbkb2ASg8AGF8ZiZTzUS5Q,30
|
9
|
-
jupyterlite_simple_cors_proxy-0.1.12.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|