File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -170,9 +170,9 @@ async def perform_request( # type: ignore[override]
170170 else :
171171 body_to_send = None
172172
173- fingerprint = None
173+ aiohttp_ssl : Union [ "aiohttp.Fingerprint" , bool ] = True
174174 if self ._ssl_assert_fingerprint :
175- fingerprint = aiohttp_fingerprint (self ._ssl_assert_fingerprint )
175+ aiohttp_ssl = aiohttp_fingerprint (self ._ssl_assert_fingerprint )
176176
177177 try :
178178 start = self ._loop .time ()
@@ -182,7 +182,7 @@ async def perform_request( # type: ignore[override]
182182 data = body_to_send ,
183183 headers = request_headers ,
184184 timeout = aiohttp_timeout ,
185- ssl = fingerprint ,
185+ ssl = aiohttp_ssl ,
186186 ) as response :
187187 if is_head : # We actually called 'GET' so throw away the data.
188188 await response .release ()
You can’t perform that action at this time.
0 commit comments