Browse Source

Parse URL-encoded forms in extended syntax

pull/20/head
Luke Childs 6 years ago
parent
commit
42c381a126
  1. 2
      src/index.js

2
src/index.js

@ -26,7 +26,7 @@ const createTestServer = opts => createCert(opts && opts.certificate)
app.set('etag', false);
app.use(bodyParser.json({ type: 'application/json' }));
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.caCert = keys.caCert;

Loading…
Cancel
Save