mirror of
https://github.com/zotero/zotero.git
synced 2026-08-28 05:25:31 +00:00
Firefox no longer seems to send a previously used Authorization header with subsequent requests. This results in extra requests, since every WebDAV request triggers a 401, and also results in errors, because a PUT is sent without Authorization, causing some WebDAV servers to immediately send a 401 and close the connection, which the HTTP layer interprets as a connection failure (status 0). (It's also not good to try to send a large file just to get a 401.) There might be some way to share context between requests, but instead, just get the used Authorization header and include that explicitly in future requests. To test this properly, we have to switch to using httpd.js for all WebDAV requests, since the mocked XHR doesn't trigger the 401 retry. https://forums.zotero.org/discussion/129194/webdav-uploads-fail-on-zotero-8-put-sent-without-authorization-server-closes-connection |
||
|---|---|---|
| .. | ||
| components | ||
| content | ||
| resource | ||
| tests | ||
| chrome.manifest | ||
| runtests.sh | ||