Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
![]() If a server returns an invalid HTTP response (e.g., Content-Encoding:
gzip with a plaintext body, a.k.a. NS_ERROR_INVALID_CONTENT_ENCODING)
but we can still parse a 4xx or 5xx HTTP response code, use that for the
XHR status, since it might be enough for what we need to do (e.g.,
verify a 404 from a WebDAV server). This fixes a current problem with
Box [1].
Also fix a "msg is not defined" error when the XHR status is 0 but the
SSL connection is fine and include the channel and response status on
the UnexpectedStatusException object (though both of these would now
only happen on an invalid 2xx response, when the XHR status would remain
as 0).
[1] https://forums.zotero.org/discussion/comment/301014/#Comment_301014
(cherry picked from commit
|
||
---|---|---|
chrome | ||
components | ||
defaults/preferences | ||
resource | ||
scripts | ||
styles@190224fd81 | ||
test | ||
translators@66e7a146ca | ||
.babelrc | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
chrome.manifest | ||
CONTRIBUTING.md | ||
COPYING | ||
install.rdf | ||
package-lock.json | ||
package.json | ||
README.md | ||
update.rdf |
Zotero
Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
Please post feature requests or bug reports to the Zotero Forums. If you're having trouble with Zotero, see Getting Help.
For more information on how to use this source code, see the Zotero wiki.