Skip to content

Commit 07a1d20

Browse files
committed
Add X-Kaggle-Authorization header
1 parent aefd489 commit 07a1d20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

patches/kaggle_web_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def __init__(self):
2626
self.headers = {
2727
'Content-type': 'application/json',
2828
'Authorization': f'Bearer {self.jwt_token}',
29+
'X-Kaggle-Authorization': f'Bearer {self.jwt_token}',
2930
}
3031

3132
def make_post_request(self, data: dict, endpoint: str) -> dict:

0 commit comments

Comments
 (0)