Skip to content

Commit

Permalink
Update aiohttp/helpers.py
Browse files Browse the repository at this point in the history
Co-authored-by: Serhiy Storchaka <[email protected]>
  • Loading branch information
asvetlov and serhiy-storchaka authored Dec 5, 2020
1 parent a1066b1 commit 1850e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ def populate_with_cookies(

# https://tools.ietf.org/html/rfc7232#section-2.3
_ETAGC = r"[!#-}\x80-\xff]+"
_QUOTED_ETAG = fr'(W\/)?("{_ETAGC}")'
_QUOTED_ETAG = fr'(W/)?("{_ETAGC}")'
QUOTED_ETAG_RE = re.compile(_QUOTED_ETAG)
LIST_QUOTED_ETAG_RE = re.compile(fr"({_QUOTED_ETAG})(?:\s*,\s*|$)")

Expand Down

0 comments on commit 1850e62

Please sign in to comment.