Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Why the put and delete method need methodoverride?

Why the put and delete method need methodoverride?

Problem

What I mean is, why just let the put and delete as same as get and post,

they are all http method, when I want use put and delete,

I have to do some special trick, like use methodoverride,

Is there some technical problem about letting the same?

Problem courtesy of: hh54188

Solution

Are the PUT, Delete, HEAD, etc methods available in most web browsers?

Why don't the modern Browsers Support PUT and DELETE form methods?

to sum it up: not all browsers support sending requests other than GET and POST, nor do all server software support other verbs than GET, POST and HEAD.

Solution courtesy of: Floby

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

Why the put and delete method need methodoverride?

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×