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
We could use code to include it if the Node version you're running includes it, but I think a new major would be more appropriate if we have differences in http.METHODS between node majors. Not sure this has ever happened before.
That list of methods in this module is only supposed to be the ones supported by Node.js 0.10. If you are going to make a ner major, drop 0.10 and remove that static list, as it is only needed for supprt Node.js 0.10. That is less stuff to maintain
And at that point, why bother with the module, just use the http module exports directly in express and stuff. This module was only made for shimming Node.js 0.10 support
The fallback methods in https://github.com/jshttp/methods/blob/master/index.js#L22 do not encompass the new QUERY method.
We could use code to include it if the Node version you're running includes it, but I think a new major would be more appropriate if we have differences in
http.METHODS
between node majors. Not sure this has ever happened before.See expressjs/express#5615
related: expressjs/express#5628
The text was updated successfully, but these errors were encountered: