Skip to content

Commit

Permalink
🐛 Fix QUIC cache when using requests.request without persistent Session
Browse files Browse the repository at this point in the history
  • Loading branch information
Ousret committed Sep 1, 2023
1 parent c02230b commit 592b325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/niquests/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def __init__(self, quic_cache_layer=None):
#: A simple dict that allows us to persist which server support QUIC
#: It is simply forwarded to urllib3.future that handle the caching logic.
#: Can be any mutable mapping.
self.quic_cache_layer = quic_cache_layer or dict()
self.quic_cache_layer = quic_cache_layer

# Default connection adapters.
self.adapters = OrderedDict()
Expand Down

0 comments on commit 592b325

Please sign in to comment.