fix(接口测试): curl导出请求方法解析错误
--bug=1046731 --user=王旭 【cURL导入】-DELETE、PATCH、PUT等方法解析错误 https://www.tapd.cn/55049933/s/1581532
This commit is contained in:
parent
9aca625d33
commit
1fe09346a9
|
@ -25,7 +25,7 @@ public interface CurlPatternConstants {
|
||||||
/**
|
/**
|
||||||
* HTTP请求方法
|
* HTTP请求方法
|
||||||
*/
|
*/
|
||||||
Pattern HTTP_METHOD_PATTERN = Pattern.compile("curl\\s+(?:[^\\s]+\\s+)*(-X|--request)\\s+'?(GET|POST)'?");
|
Pattern HTTP_METHOD_PATTERN = Pattern.compile("curl\\s+(?:[^\\s]+\\s+)*(-X|--request)\\s+'?(GET|POST|PUT|DELETE|PATCH|OPTIONS|HEAD|CONNECT)'?");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 默认HTTP请求方法
|
* 默认HTTP请求方法
|
||||||
|
|
Loading…
Reference in New Issue