alberto-bottarini/httpdispatcher

Support PUT and DELETE methods

Closed this issue · 4 comments

Hello, is it possible to add support for PUT and DELETE methods ?
Gread module, btw.

I added onPut and onDelete methods for my own use. Not heavily tested but seems to work.

httpdispatcher_put_and_delete_support.zip

@besworks why not create a PR?

@alberto-bottarini, I didn't think it was appropriate. I didn't even check out the repo. I hacked this functionality in after installing via npm and barely tested it. Just figured I should share it here so that anyone else looking for these features could build off the changes that I made. I had some time today so I went ahead and branched it properly. I'm about to submit a PR now.

#17 adds missing methods.
Issue closed, thanks.