Douglas Wilson
Douglas Wilson
So I am out on my phone so hard to really type out my full thoughts here, but wanted to write down some of the ones at the top of...
And to add: right now we don't actually have a release schedule at all, so it's hard to really say the current one is slow since it doesn't exist. Just...
You are correct, but that is even if you are not using CORS. The Express.js server will add one for you, if you set up method for your path. This...
``` $ node -e 'require("express")().get("/foo",(req,res)=>res.send("Hello")).listen(3000)' & [1] 622 $ curl -i -XOPTIONS http://localhost:3000/foo HTTP/1.1 200 OK X-Powered-By: Express Allow: GET,HEAD Content-Type: text/html; charset=utf-8 Content-Length: 8 ETag: W/"8-ZRAf8oNBS3Bjb/SU2GYZCmbtmXg" Date: Wed, 20...
Oh, interesting. So seems like there is some kind of bug in here that is suppression the Allow header or something 🤔
The auto options response in Express only takes effect if your code does not write a response. Since you wrote a response that said unrecognized, Express considers it as if...
Hi @davidmerfield, I don't believe @hacksparrow was saying n to you, only trying to ask for more clarification on your request. Perhaps I can provide some better context on the...
> I could overwrite express' res.render with my own renderer. However in order to handle errors properly it seems I'd have to pass in next each time I called res.render...
Hi @ScottFreeCode great comments, though I'm unclear how the 404 discussion relates to having the views use something other than the file system (the topic of this issue). The means...
I'm still not clear on what you mean, I'm sorry. I can say yes, we give a 500, but only if you are not passing a callback to the render...