Skip to content

Commit

Permalink
Update aiohttp/client_reqrep.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Feb 11, 2025
1 parent c31fcc1 commit a48ecdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aiohttp/client_reqrep.py
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,8 @@ def links(self) -> "MultiDictProxy[MultiDictProxy[Union[str, URL]]]":

for val in re.split(r",(?=\s*<)", links_str):
match = re.match(r"\s*<(.*)>(.*)", val)
assert match is not None
if match is None: # Malformed link
continue
url, params_str = match.groups()
params = params_str.split(";")[1:]

Expand Down

0 comments on commit a48ecdb

Please sign in to comment.