You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Breaking changes from 2.x to 3.x
For general performance reasons, special modes have been removed from this major version (except route-wide no etag option)
Fyrejet no longer implements any req properties from Express. The properties are now reimplemented as methods. So, for instance, to get protocol, you should use req.protocol() instead of req.protocol. While this breaks compatibility, this helps to raise performance.
req.method and req.url are not affected since they are native to node.js's http module
res.send ability to set HTTP status code is removed for performance reasons (deprecated functionality from Express).
req.host() is removed, since req.hostname() is available.
req.acceptsEncoding, req.acceptsCharset and req.acceptsLanguage are removed in favour of req.acceptsEncodings, req.acceptsCharsets and req.acceptsLanguages.