mirror of https://github.com/BTCPrivate/copay.git
paypro: remove useless header from http request.
This commit is contained in:
parent
61f20605f5
commit
08f1a49259
|
@ -804,10 +804,7 @@ Wallet.prototype.createPaymentTx = function(options, cb) {
|
|||
method: options.method || 'POST',
|
||||
url: options.uri,
|
||||
headers: {
|
||||
'Accept': PayPro.PAYMENT_REQUEST_CONTENT_TYPE,
|
||||
'Content-Type': 'application/octet-stream'
|
||||
// XHR does not allow this:
|
||||
// 'Content-Length': '0'
|
||||
'Accept': PayPro.PAYMENT_REQUEST_CONTENT_TYPE
|
||||
},
|
||||
responseType: 'arraybuffer'
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue