mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 12:04:11 +01:00
Try grabbing Content-Disposition from a HEAD request for the save link completion list. Localify descriptions.
This commit is contained in:
@@ -757,6 +757,9 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
if (params.responseType)
|
||||
xmlhttp.responseType = params.responseType;
|
||||
|
||||
if (params.notificationCallbacks)
|
||||
xmlhttp.channel.notificationCallbacks = params.notificationCallbacks;
|
||||
|
||||
xmlhttp.send(params.data);
|
||||
return xmlhttp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user