runner-runtime 1.0.78 → 1.0.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/events/api.js CHANGED
@@ -143,7 +143,13 @@ const convert2PostmanRequest = (request, option) => {
143
143
  _.set(pmRequest, "protocol", _.get(request, "protocol") || "http/1.1");
144
144
 
145
145
  // 处理 method
146
- _.set(pmRequest, "method", _.get(request, "method") || "GET");
146
+ let method = _.get(request, "method") || "GET";
147
+
148
+ if(_.includes(['CONNECT'],_.toUpper(method))){
149
+ method = 'GET';
150
+ }
151
+
152
+ _.set(pmRequest, "method", method);
147
153
 
148
154
  // 处理认证
149
155
  const auth = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runner-runtime",
3
- "version": "1.0.78",
3
+ "version": "1.0.80",
4
4
  "description": "runner-runtime.",
5
5
  "main": "index.js",
6
6
  "scripts": {