Comments (4)
Weird. You're even getting back Cannot DELETE /?_method=DELETE
. I'm going to run your code real quick.
from method-override.
It is an express
4.5 regression; the method is cached at the beginning of the main router.
from method-override.
A 4.5.1 is now on it's way with a fix.
from method-override.
OK, solution is to use express 4.5.1 instead of 4.5.0.
from method-override.
Related Issues (11)
- app.use() requires middleware functions HOT 5
- Case sensitive? HOT 2
- Not really an issue / more of a question HOT 1
- req.body is empty when using PUT method HOT 10
- Not an actual issue HOT 1
- Why not support this from GET? HOT 6
- Restrict HTTP method the override can arrive in HOT 2
- Method override header should be configurable
- No req.body checking; do query string checking HOT 8
- Why make the way to override method exclusive? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from method-override.