xitzin 0.6.0__py3-none-any.whl → 0.6.1__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.
xitzin/routing.py CHANGED
@@ -243,6 +243,9 @@ class MountedRoute:
243
243
  Returns:
244
244
  True if path starts with this mount's prefix.
245
245
  """
246
+ # Root mount matches all paths
247
+ if self.path_prefix == "/":
248
+ return path.startswith("/")
246
249
  # Exact match or prefix with /
247
250
  return path == self.path_prefix or path.startswith(self.path_prefix + "/")
248
251
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: xitzin
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: A Gemini Application Framework
5
5
  Keywords: gemini,protocol,framework,async,geminispace
6
6
  Author: Alan Velasco
@@ -7,13 +7,13 @@ xitzin/middleware.py,sha256=rES7C1gujvP-1evpXfqng9uZ91rzJdqfob-nvGBtTAo,19042
7
7
  xitzin/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  xitzin/requests.py,sha256=1mbm5F8oywLPNpSdh2inn7K1IEeI3H5meOwj8jldi1Q,7783
9
9
  xitzin/responses.py,sha256=QVH4B-qVHP7hxi0hIrOJhdCiHDf4PDCpSZ1fAD8iNkk,6525
10
- xitzin/routing.py,sha256=8Kl3FV6EWZ6nW0bDTqJ-qysNyJ1iSRtCKicCAai8Lmk,18093
10
+ xitzin/routing.py,sha256=l7y2tgL-UmeqnezypfZBz24kbyI83T_H427aOB2gAUI,18208
11
11
  xitzin/scgi.py,sha256=t-ixEwrQR-bIRj56DkzBsvGyN75E5R0gasIjMfq5LFY,13665
12
12
  xitzin/sqlmodel.py,sha256=lZvDzYAgnG8S2K-EYnx6PkO7D68pjM06uQLSKUZ9yY4,4500
13
13
  xitzin/staticfiles.py,sha256=jSbEdUIDq4aktP_-CX5US0IObrUBPF7M7eHUr28VhG8,15214
14
14
  xitzin/tasks.py,sha256=_smEXy-THge8wmQqWDtX3iUmAmoHniw_qqZBlKjCdqA,4597
15
15
  xitzin/templating.py,sha256=spjxb05wgwKA4txOMbWJuwEVMaoLovo13_ukbXAcBDY,6040
16
16
  xitzin/testing.py,sha256=wMiToopD2TAqTsreVqOrIUNCayORNQQennxR_GwMBSY,10980
17
- xitzin-0.6.0.dist-info/WHEEL,sha256=5DEXXimM34_d4Gx1AuF9ysMr1_maoEtGKjaILM3s4w4,80
18
- xitzin-0.6.0.dist-info/METADATA,sha256=yMpMV5_cxjYK26sDgN70-CX4Z9nDnVxCu0oHjfsYxPc,3456
19
- xitzin-0.6.0.dist-info/RECORD,,
17
+ xitzin-0.6.1.dist-info/WHEEL,sha256=5DEXXimM34_d4Gx1AuF9ysMr1_maoEtGKjaILM3s4w4,80
18
+ xitzin-0.6.1.dist-info/METADATA,sha256=pgKUC5WF4Y5SF-tAWagnZVIJ3JpbS9vyhGcGHxXQUbY,3456
19
+ xitzin-0.6.1.dist-info/RECORD,,
File without changes