Skip to content

Commit fe27552

Browse files
committed
fix: mypy check
1 parent 7709104 commit fe27552

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

asgi_webdav/auth.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,8 @@ def build_ha2_digest(self, method: DAVMethod, uri: str) -> str:
479479
"""
480480
HA2 = MD5(method:digestURI)
481481
"""
482-
return self.build_md5_digest([method.value, uri])
482+
# method.name for mypy check
483+
return self.build_md5_digest([method.name, uri])
483484

484485
def build_request_digest(
485486
self,

0 commit comments

Comments
 (0)