node-restify
node-restify copied to clipboard
The future of Node.js REST development
Current version: 6.3.4 We are using the below router to serve the index.html ``` server.get(/\/?.*/, restify.plugins.serveStatic({ directory: path.join(__dirname, '../build'), default: 'index.html' }) ); ``` And we are planning to migrate...
Hello! I would like to convert this: ```js RestServer.post(/^\/v1\/server\/file\/(move|rename)/, (req, res, next) => { // [...] return next(); }); ``` to the new version of restify but the docs are...
## Pre-Submission Checklist - [x] Opened an issue discussing these changes before opening the PR - [x] Ran the linter and tests via `make prepush` - [x] Included comprehensive and...
- [x] Used appropriate template for the issue type - [x] Searched both open and closed issues for duplicates of this issue - [x] Title adequately and _concisely_ reflects the...
## Pre-Submission Checklist - [X] Opened an issue discussing these changes before opening the PR - [X] Ran the linter and tests via `make prepush` - [X] Included comprehensive and...
- [X] Used appropriate template for the issue type - [X] Searched both open and closed issues for duplicates of this issue - [X] Title adequately and _concisely_ reflects the...
- [x] Used appropriate template for the issue type - [x] Searched both open and closed issues for duplicates of this issue - [x] Title adequately and _concisely_ reflects the...
https://github.com/restify/node-restify/blob/9153587c023a876237c1d8bc7491fee4984d9074/lib/response.js#L410 When 'trace'-level logging is enabled, access to self._headers causes a deprecation warning like this: ``` internal/process/warning.js:132 throw warning; ^ DeprecationWarning: OutgoingMessage.prototype._headers is deprecated at ServerResponse.__send (/server/node_modules/restify/lib/response.js:410:31) at ServerResponse.send (/server/node_modules/restify/lib/response.js:316:21)...
- [x] Used appropriate template for the issue type - [x] Searched both open and closed issues for duplicates of this issue - [x] Title adequately and _concisely_ reflects the...
I want to incorporate EJS for FrontEnd Development in my restify application. As there isn't any example on the Web or github. I wanted to what npm packages and line...