Document options.headers property for Zotero.HTTP.promise()

This commit is contained in:
Dan Stillman 2013-09-16 02:28:11 -04:00
parent 16e4aa0516
commit fe83d4db72

View File

@ -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>