asgi-tools 1.3.1__cp311-cp311-musllinux_1_2_x86_64.whl → 1.3.2__cp311-cp311-musllinux_1_2_x86_64.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.
- asgi_tools/middleware.py +1 -1
- {asgi_tools-1.3.1.dist-info → asgi_tools-1.3.2.dist-info}/METADATA +2 -2
- {asgi_tools-1.3.1.dist-info → asgi_tools-1.3.2.dist-info}/RECORD +6 -6
- {asgi_tools-1.3.1.dist-info → asgi_tools-1.3.2.dist-info}/WHEEL +0 -0
- {asgi_tools-1.3.1.dist-info → asgi_tools-1.3.2.dist-info}/licenses/LICENSE +0 -0
- {asgi_tools-1.3.1.dist-info → asgi_tools-1.3.2.dist-info}/top_level.txt +0 -0
asgi_tools/middleware.py
CHANGED
@@ -392,7 +392,7 @@ class StaticFilesMiddleware(BaseMiddleware):
|
|
392
392
|
super().__init__(app)
|
393
393
|
self.url_prefix = url_prefix
|
394
394
|
folders = folders or []
|
395
|
-
self.folders: list[Path] = [Path(folder) for folder in folders]
|
395
|
+
self.folders: list[Path] = [Path(folder).resolve() for folder in folders]
|
396
396
|
|
397
397
|
async def __process__(self, scope: TASGIScope, receive: TASGIReceive, send: TASGISend) -> None:
|
398
398
|
"""Serve static files for self url prefix."""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: asgi-tools
|
3
|
-
Version: 1.3.
|
3
|
+
Version: 1.3.2
|
4
4
|
Summary: ASGI Toolkit to build web applications
|
5
5
|
Author-email: Kirill Klenov <horneds@gmail.com>
|
6
6
|
License: MIT License
|
@@ -33,7 +33,7 @@ Requires-Dist: async-timeout; python_version < "3.11"
|
|
33
33
|
Provides-Extra: tests
|
34
34
|
Requires-Dist: aiofile; extra == "tests"
|
35
35
|
Requires-Dist: pytest; extra == "tests"
|
36
|
-
Requires-Dist: pytest-aio[curio,trio]>=1.3.
|
36
|
+
Requires-Dist: pytest-aio[curio,trio]>=1.3.2; extra == "tests"
|
37
37
|
Requires-Dist: pytest-benchmark; extra == "tests"
|
38
38
|
Requires-Dist: PyYAML; extra == "tests"
|
39
39
|
Requires-Dist: ruff; extra == "tests"
|
@@ -8,7 +8,7 @@ asgi_tools/forms.cpython-311-x86_64-linux-musl.so,sha256=06I6DXWsG979m3ds6WuvLlR
|
|
8
8
|
asgi_tools/forms.py,sha256=ers1A52YEAO1TBYWJP73K6q6jArNU7QbV0LjTlpKdeM,5059
|
9
9
|
asgi_tools/forms.pyx,sha256=ol1iEXDwS--9vNIoxFFvcTRvzUF14gQC3SDWW9K5-k8,5340
|
10
10
|
asgi_tools/logs.py,sha256=FaXJF5UYClU-JdqLL7VANxQ8O-eYAEemt0Zc_GaEC60,148
|
11
|
-
asgi_tools/middleware.py,sha256=
|
11
|
+
asgi_tools/middleware.py,sha256=hkAdedGiWNTZJ2_AULzI9trn_qHMoN3QxHOQ7tvegF0,15158
|
12
12
|
asgi_tools/multipart.c,sha256=EY4Z9r8PmtB-EuV7mI1evcyEGOFpKZCT-KeE5GPH2II,844007
|
13
13
|
asgi_tools/multipart.cpython-311-x86_64-linux-musl.so,sha256=ZB6BQvRVU7o5TT10jWwG5h6RPJb55f3ilNkSc1TQ0dk,867888
|
14
14
|
asgi_tools/multipart.pxd,sha256=bPnRLYuBw51OX7v-SZTOgOpb4PxM1MtR5dGWVoymX3A,725
|
@@ -22,8 +22,8 @@ asgi_tools/tests.py,sha256=elUGlBE8qklBzKAov1x1i0eVHfkFLzj5Oifd6_JjHv4,12944
|
|
22
22
|
asgi_tools/types.py,sha256=QWmrnhqc_jEUaXUcMm5iMpxpd6vrTcCnlq4O9moKANg,926
|
23
23
|
asgi_tools/utils.py,sha256=6qNwZbUsKatg75Gi1ltRsAeJhBaf1gwJkuR0LemitRw,2813
|
24
24
|
asgi_tools/view.py,sha256=DO0Lr8euP98kMicDwmZLcbMpJ-Hzbhl3vYFYqAXpisw,1925
|
25
|
-
asgi_tools-1.3.
|
26
|
-
asgi_tools-1.3.
|
27
|
-
asgi_tools-1.3.
|
28
|
-
asgi_tools-1.3.
|
29
|
-
asgi_tools-1.3.
|
25
|
+
asgi_tools-1.3.2.dist-info/METADATA,sha256=7NwnIzvg_zHcmhcrf5h1fMwPtQrlZMZg2lAdX82JBEM,7139
|
26
|
+
asgi_tools-1.3.2.dist-info/WHEEL,sha256=kA_iIvT-cxTFNl4I8QDfFHN1DAyqZDYakVXCaObxeLo,112
|
27
|
+
asgi_tools-1.3.2.dist-info/top_level.txt,sha256=-6i6ebKuJ0cSaXJ3KWPmJLKUbmBE2UsuA2b7BcZMJSk,11
|
28
|
+
asgi_tools-1.3.2.dist-info/RECORD,,
|
29
|
+
asgi_tools-1.3.2.dist-info/licenses/LICENSE,sha256=ytogAgYcPT6gWj8aRc-cZwhSq9Y3wOzG-4KteKCyQOw,1070
|
File without changes
|
File without changes
|
File without changes
|