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 506bcc5 commit c3b9d68Copy full SHA for c3b9d68
pins/rsconnect/api.py
@@ -180,7 +180,7 @@ def _get_headers(self):
180
api_key = self._get_api_key()
181
rsc_xsrf = self.session.cookies.get("RSC-XSRF")
182
183
- d_key = {"Authorization": f"key {api_key}"} if api_key is not None else {}
+ d_key = {"Authorization": f"Key {api_key}"} if api_key is not None else {}
184
d_rsc = {"X-RSC-XSRF": rsc_xsrf} if rsc_xsrf is not None else {}
185
186
return {**d_key, **d_rsc}
0 commit comments