前端比较麻烦,因为:
The other HTTP methods (i.e. other than GET and POST) are not available in HTML 4.1 or XHTML 1.0.
也就是说实际上HTML5以前,FORM都仅支持GET和POST。
即便你尝试自己用Ajax来做,都未必能成功。
在jQuery的文档中说:
The type of request to make ("POST" or "GET"), default is "GET". Note: Other HTTP request methods, such as PUT and DELETE, can also be used here, but they are not supported by all browsers.(最后一句话:不是所有浏览器支持其它方式)