|
@ -26,7 +26,7 @@ const createTestServer = opts => createCert(opts && opts.certificate) |
|
|
app.set('etag', false); |
|
|
app.set('etag', false); |
|
|
app.use(bodyParser.json({ type: 'application/json' })); |
|
|
app.use(bodyParser.json({ type: 'application/json' })); |
|
|
app.use(bodyParser.text({ type: 'text/plain' })); |
|
|
app.use(bodyParser.text({ type: 'text/plain' })); |
|
|
app.use(bodyParser.urlencoded({ type: 'application/x-www-form-urlencoded' })); |
|
|
app.use(bodyParser.urlencoded({ type: 'application/x-www-form-urlencoded', extended: true })); |
|
|
app.use(bodyParser.raw({ type: 'application/octet-stream' })); |
|
|
app.use(bodyParser.raw({ type: 'application/octet-stream' })); |
|
|
|
|
|
|
|
|
app.caCert = keys.caCert; |
|
|
app.caCert = keys.caCert; |
|
|