Skip to content

Commit

Permalink
+ httpMethodOverride 请求头
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudcome committed Apr 14, 2017
1 parent b5a68ac commit f74de6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Expand Up @@ -126,8 +126,8 @@ var defaults = {
async: true,

/**
* 是否重写请求方法,如果设置为 true,则会在请求头里添加
* x-http-method-override 字段,标记了原始的请求方法
* 是否重写请求方法,如果设置为 true,则会在非 GET 请求的请求头
* 里添加 `x-http-method-override` 字段,标记了原始的请求方法
* @type Boolean
*/
httpMethodOverride: false,
Expand Down

0 comments on commit f74de6e

Please sign in to comment.