superagent: multipart requires content-type to be unset
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
/* global it:false */
|
||||
/* global describe:false */
|
||||
/* global before:false */
|
||||
|
||||
'use strict';
|
||||
|
||||
@@ -22,4 +21,8 @@ describe('Superagent', function () {
|
||||
const [error] = await safe(superagent.get('https://cloudron.io').set('User-Agent', 'Mozilla').timeout(10*1000).redirects(0));
|
||||
expect(error).to.be.ok();
|
||||
});
|
||||
|
||||
it('can disable certs', async function () {
|
||||
await superagent.get('https://www.cloudron.io').set('User-Agent', 'Mozilla').disableTLSCerts();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user