Skip to content

Commit

Permalink
no needed arg sep
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemIsmagilov committed Jun 13, 2024
1 parent 68480c8 commit 7bc5650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caldav/davclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ def options(self, url: str) -> DAVResponse:

def extract_auth_types(self, header: str):
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate#syntax
return {h.split(" ")[0] for h in header.lower().split(",")}
return {h.split()[0] for h in header.lower().split(",")}

def request(
self,
Expand Down

0 comments on commit 7bc5650

Please sign in to comment.