mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
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:
parent
a2f3e23fd8
commit
2962a3ce17
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user