We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 226268c commit 6598e17Copy full SHA for 6598e17
kernel_gateway/mixins.py
@@ -59,7 +59,7 @@ def prepare(self):
59
server_token = self.settings.get('kg_auth_token')
60
if server_token:
61
client_token = self.get_argument('token', None)
62
- if client_token == None:
+ if client_token is None:
63
client_token = self.request.headers.get('Authorization')
64
if client_token and client_token.startswith(self.header_prefix):
65
client_token = client_token[self.header_prefix_len:]
0 commit comments