nbgallery / lab-extensions

Repo for JupyterLab NBGallery Extensions
MIT License
1 stars 2 forks source link

Fix ajax request for downloadReplace #55

Closed jnam18 closed 7 months ago

jnam18 commented 8 months ago

When Running "check for changes" -> "download and replace local", we get a 400 CORS error, and we see that no cookies are sent and the accept type is set to */*. The call for the downloadReplace seems to be very basic (just setting the url) compared to other functions which populate more of the fields, notably the headers and xhrFields.

Note, we noticed this error is browser-dependent. On Chrome, the request is fine, but on FireFox we noticed the 400 Error.