Fix timeouts
// FREEBIE
This commit is contained in:
@@ -37818,9 +37818,9 @@ var TextSecureServer = (function() {
|
|||||||
urlParameters : '/' + id,
|
urlParameters : '/' + id,
|
||||||
responseType : 'json',
|
responseType : 'json',
|
||||||
validateResponse : {location: 'string'},
|
validateResponse : {location: 'string'},
|
||||||
timeout : 0
|
|
||||||
}).then(function(response) {
|
}).then(function(response) {
|
||||||
return ajax(response.location, {
|
return ajax(response.location, {
|
||||||
|
timeout : 0,
|
||||||
type : "GET",
|
type : "GET",
|
||||||
responseType: "arraybuffer",
|
responseType: "arraybuffer",
|
||||||
contentType : "application/octet-stream"
|
contentType : "application/octet-stream"
|
||||||
@@ -37832,9 +37832,9 @@ var TextSecureServer = (function() {
|
|||||||
call : 'attachment',
|
call : 'attachment',
|
||||||
httpType : 'GET',
|
httpType : 'GET',
|
||||||
responseType : 'json',
|
responseType : 'json',
|
||||||
timeout : 0
|
|
||||||
}).then(function(response) {
|
}).then(function(response) {
|
||||||
return ajax(response.location, {
|
return ajax(response.location, {
|
||||||
|
timeout : 0,
|
||||||
type : "PUT",
|
type : "PUT",
|
||||||
contentType : "application/octet-stream",
|
contentType : "application/octet-stream",
|
||||||
data : encryptedBin,
|
data : encryptedBin,
|
||||||
|
@@ -381,9 +381,9 @@ var TextSecureServer = (function() {
|
|||||||
urlParameters : '/' + id,
|
urlParameters : '/' + id,
|
||||||
responseType : 'json',
|
responseType : 'json',
|
||||||
validateResponse : {location: 'string'},
|
validateResponse : {location: 'string'},
|
||||||
timeout : 0
|
|
||||||
}).then(function(response) {
|
}).then(function(response) {
|
||||||
return ajax(response.location, {
|
return ajax(response.location, {
|
||||||
|
timeout : 0,
|
||||||
type : "GET",
|
type : "GET",
|
||||||
responseType: "arraybuffer",
|
responseType: "arraybuffer",
|
||||||
contentType : "application/octet-stream"
|
contentType : "application/octet-stream"
|
||||||
@@ -395,9 +395,9 @@ var TextSecureServer = (function() {
|
|||||||
call : 'attachment',
|
call : 'attachment',
|
||||||
httpType : 'GET',
|
httpType : 'GET',
|
||||||
responseType : 'json',
|
responseType : 'json',
|
||||||
timeout : 0
|
|
||||||
}).then(function(response) {
|
}).then(function(response) {
|
||||||
return ajax(response.location, {
|
return ajax(response.location, {
|
||||||
|
timeout : 0,
|
||||||
type : "PUT",
|
type : "PUT",
|
||||||
contentType : "application/octet-stream",
|
contentType : "application/octet-stream",
|
||||||
data : encryptedBin,
|
data : encryptedBin,
|
||||||
|
Reference in New Issue
Block a user