Fix timeouts

// FREEBIE
This commit is contained in:
lilia 2017-10-23 09:07:56 -07:00
parent 3525e9f445
commit ce0e39aaa7
2 changed files with 4 additions and 4 deletions

View file

@ -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,

View file

@ -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,