Fix timeouts
// FREEBIE
This commit is contained in:
parent
3525e9f445
commit
ce0e39aaa7
2 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue