-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct content-type headers #965
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
Gateway client should set content-type to application/json when issuing POST requests with json-encoded body
e6e2234
to
e7a9541
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@epignot - I apologize for the dropped change - thank you for resubmitting! @blink1073 - thank you for the approval and merge! |
(cherry-picked from commit 15310fd)
(cherry-picked from commit 15310fd)
No worries @kevin-bates ! Thank you @blink1073 ! I submitted #966 to backport this to |
Co-authored-by: Emmanuel Pignot <[email protected]>
This workaround is no longer needed since this fix: jupyter-server/jupyter_server#965
* remove old workaround for jupyterlab This workaround is no longer needed since this fix: jupyter-server/jupyter_server#965 * add workaround for JupyterLab v4+ JupyterLab v4 and Notebook v7 use a new ws subprotocol our backend doesn't support yet. `GatewayWebSocketConnection.kernel_ws_protocol` option forces to use the legacy websocket subprotocol * update VSCode extension doc The VSCode extension layout changed a bit, so I added an updated image and updated the connection process. I also fixed some troubleshooting tips --------- Co-authored-by: Emmanuel Pignot <[email protected]>
GatewayKernelManager does not send the correct
Content-Type
header when issuing POST requests for kernel creation.This was initially fixed in PR : #471
But got reverted when gateway manager was refactored, in this commit : 062b5f4