asgi-tools 1.3.1__cp312-cp312-macosx_10_13_universal2.whl → 1.3.2__cp312-cp312-macosx_10_13_universal2.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.
Binary file
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."""
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asgi-tools
3
- Version: 1.3.1
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.1; extra == "tests"
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"
@@ -1,5 +1,10 @@
1
+ asgi_tools-1.3.2.dist-info/RECORD,,
2
+ asgi_tools-1.3.2.dist-info/WHEEL,sha256=3DzZhK-rNIkkEIppB3qbu6syT4kayeV5HkusnWIqMIg,142
3
+ asgi_tools-1.3.2.dist-info/top_level.txt,sha256=-6i6ebKuJ0cSaXJ3KWPmJLKUbmBE2UsuA2b7BcZMJSk,11
4
+ asgi_tools-1.3.2.dist-info/METADATA,sha256=7NwnIzvg_zHcmhcrf5h1fMwPtQrlZMZg2lAdX82JBEM,7139
5
+ asgi_tools-1.3.2.dist-info/licenses/LICENSE,sha256=ytogAgYcPT6gWj8aRc-cZwhSq9Y3wOzG-4KteKCyQOw,1070
1
6
  asgi_tools/multipart.py,sha256=8RkJm9JIjyjR7z2OIhYg8fgLKq21HBWCMEOwbhx-3GA,21707
2
- asgi_tools/forms.cpython-312-darwin.so,sha256=X3EQQfspagNq2qV1TykB7ZU96jn8Mjj-HHMkkYXvYLY,368896
7
+ asgi_tools/forms.cpython-312-darwin.so,sha256=9yNmAXQ8-UrGfXXv-xkz0vgOsO2lcbSwjx3DLefzk6w,368896
3
8
  asgi_tools/multipart.pyx,sha256=pq-DzmAaRhS0yMJIFPNI-GP7OjJUt4k3Y8vMbXJOpKk,21929
4
9
  asgi_tools/forms.c,sha256=v7t7ia5JTU68Eg1weG353v2IKfjQf_jTKUBSDmg8pgQ,826881
5
10
  asgi_tools/multipart.c,sha256=EY4Z9r8PmtB-EuV7mI1evcyEGOFpKZCT-KeE5GPH2II,844007
@@ -20,10 +25,5 @@ asgi_tools/forms.pyx,sha256=ol1iEXDwS--9vNIoxFFvcTRvzUF14gQC3SDWW9K5-k8,5340
20
25
  asgi_tools/router.py,sha256=1MCF5QLfYPWZH10AuXMRN0rTMTyQWciDSh3owgsFhk4,440
21
26
  asgi_tools/_compat.py,sha256=3BTsysYhxa0itJzCWnzpnE-HuYGs7vXzZRgQRei0IW4,7483
22
27
  asgi_tools/tests.py,sha256=elUGlBE8qklBzKAov1x1i0eVHfkFLzj5Oifd6_JjHv4,12944
23
- asgi_tools/multipart.cpython-312-darwin.so,sha256=ITufHrbFpgaETuUHmuKBO84zwWu42WpOmcyhiWXbsPo,310576
24
- asgi_tools/middleware.py,sha256=_hTALpm3Gv_3ssCyZfInzuFC8onNz2ZFVrDCdgOcnF8,15148
25
- asgi_tools-1.3.1.dist-info/RECORD,,
26
- asgi_tools-1.3.1.dist-info/WHEEL,sha256=3DzZhK-rNIkkEIppB3qbu6syT4kayeV5HkusnWIqMIg,142
27
- asgi_tools-1.3.1.dist-info/top_level.txt,sha256=-6i6ebKuJ0cSaXJ3KWPmJLKUbmBE2UsuA2b7BcZMJSk,11
28
- asgi_tools-1.3.1.dist-info/METADATA,sha256=TRU5h3XpsqQiez8jDNuws_Vtwt_HGl9q7fifjNvXHdg,7139
29
- asgi_tools-1.3.1.dist-info/licenses/LICENSE,sha256=ytogAgYcPT6gWj8aRc-cZwhSq9Y3wOzG-4KteKCyQOw,1070
28
+ asgi_tools/multipart.cpython-312-darwin.so,sha256=Q1hqJ4ydUaKYpXbhFmdJug4eezETLh7m-tkhcJlDeEI,310576
29
+ asgi_tools/middleware.py,sha256=hkAdedGiWNTZJ2_AULzI9trn_qHMoN3QxHOQ7tvegF0,15158