File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 18
18
from jupyter_events import EventLogger
19
19
from tornado import web
20
20
from tornado .httpclient import AsyncHTTPClient , HTTPClientError , HTTPResponse
21
- from tornado .httputil import HTTPHeaders
22
21
from traitlets import (
23
22
Bool ,
24
23
Float ,
42
41
MESSAGE_KEY = "msg"
43
42
44
43
if ty .TYPE_CHECKING :
45
- from http . cookies import Morsel
44
+ from tornado . httputil import HTTPHeaders
46
45
47
46
48
47
class GatewayTokenRenewerMeta (ABCMeta , type (LoggingConfigurable )): # type: ignore[misc]
@@ -631,7 +630,7 @@ def load_connection_args(self, **kwargs):
631
630
632
631
return kwargs
633
632
634
- def update_cookies (self , headers : HTTPHeaders ) -> None :
633
+ def update_cookies (self , headers : " HTTPHeaders" ) -> None :
635
634
"""Update cookies from response headers"""
636
635
637
636
if not self .accept_cookies :
You can’t perform that action at this time.
0 commit comments