You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few places might make use of HEAD request to check that a content does (or does not) exists without actually get the full content. Typically Save-As to show overwrite confirmation or not.
I think a blanket implementation that itself calls get but discard the body is the simpler to keep compatibility with subclasses.
The text was updated successfully, but these errors were encountered:
I think a blanket implementation that itself calls get but discard the body is the simpler to keep compatibility with subclasses.
This already exists in Jupyter Server today. The client can use a query parameter content=0 when calling get in the contents service to get a response without content.
We should update the JupyterLab code to use this API on SaveAs.
It is weird to pass it as a parameter if there is an official HEAD request
in the rest spec. I'm not sure which effects it can have on proxies.
also the code you link should likely turn the result into a bool and not an
int, but i'm in mobile Incan't dig more.
See jupyterlab/jupyterlab#15153 in JupyterLab.
A few places might make use of HEAD request to check that a content does (or does not) exists without actually get the full content. Typically Save-As to show overwrite confirmation or not.
I think a blanket implementation that itself calls get but discard the body is the simpler to keep compatibility with subclasses.
The text was updated successfully, but these errors were encountered: