Remove some unnecessary cache: false parameters

According to the jQuery docs, this is only needed for GET and HEAD
requests.
This commit is contained in:
Thomas Kluyver 2014-10-30 13:25:24 -07:00
parent a2f3e23fd8
commit 2962a3ce17

View File

@ -102,7 +102,6 @@ define([
var error = options.error || function() {};
var settings = {
processData : false,
cache : false,
type : "POST",
dataType : "json",
success : options.success || function() {},
@ -116,7 +115,6 @@ define([
var that = this;
var settings = {
processData : false,
cache : false,
type : "DELETE",
dataType : "json",
success : options.success || function() {},
@ -178,7 +176,6 @@ define([
var settings = {
processData : false,
cache : false,
type: method,
data: JSON.stringify({copy_from: from}),
dataType : "json",