Add followRedirects: false option to Zotero.HTTP.request()

Currently only .status and .getResponseHeader() (for getting 'Location')
are available in the returned object, but we could make the body
available if necessary.
This commit is contained in:
Dan Stillman 2018-09-11 01:23:15 -04:00
parent b8db83af08
commit b782120840
3 changed files with 83 additions and 16 deletions

View file

@ -29,6 +29,8 @@
const Cc = Components.classes;
const Ci = Components.interfaces;
const Cr = Components.results;
const Cu = Components.utils;
/** XPCOM files to be loaded for all modes **/
const xpcomFilesAll = [