mirror of
https://github.com/zotero/zotero.git
synced 2026-09-24 00:51:37 +00:00
Document options.headers property for Zotero.HTTP.promise()
This commit is contained in:
parent
16e4aa0516
commit
fe83d4db72
1 changed files with 1 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ Zotero.HTTP = new function() {
|
|||
* @param {nsIURI|String} url URL to request
|
||||
* @param {Object} [options] Options for HTTP request:<ul>
|
||||
* <li>body - The body of a POST request</li>
|
||||
* <li>headers - Object of HTTP headers to send with the request</li>
|
||||
* <li>cookieSandbox - The sandbox from which cookies should be taken</li>
|
||||
* <li>debug - Log response text and status code</li>
|
||||
* <li>dontCache - If set, specifies that the request should not be fulfilled from the cache</li>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue