You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add insecure_skip_verify option to the builtin HTTP plugin (#178)
* feat: add insecure_skip_verify option to the builtin HTTP plugin
* fix: use a string type for InsecureSkipVerify option
* fix: use a copy of the htt.DefaultTransport
* fix(plugin/http): create unsecure transport once and setup HTTP2 on it
* chore: remove go1.12 from travis matrix and add go1.15
Signed-off-by: William Poussier <[email protected]>
| `body` | a string representing the payload to be sent with the request
14
-
| `headers` | a list of headers, represented as (`name`, `value`) pairs
15
-
| `timeout` | timeout expressed as a duration (e.g. `30s`)
16
-
| `auth` | a single object composed of either a `basic` object with `user` and `password` fields to enable HTTP basic auth, or `bearer` field to enable Bearer Token Authorization
17
-
| `follow_redirect` | if `true` (string) the plugin will follow up to 10 redirects (302, ...)
18
-
| `query_parameters` | a list of query parameters, represented as (`name`, `value`) pairs; these will appended the query parameters present in the `url` field; parameters can be repeated (in either `url` or `query_parameters`) which will produce e.g. `?param=value1¶m=value2`
19
-
| `trim_prefix`| prefix in the response that must be removed before unmarshalling (optional)
|`body`| a string representing the payload to be sent with the request |
14
+
|`headers`| a list of headers, represented as (`name`, `value`) pairs |
15
+
|`timeout`| timeout expressed as a duration (e.g. `30s`) |
16
+
|`auth`| a single object composed of either a `basic` object with `user` and `password` fields to enable HTTP basic auth, or `bearer` field to enable Bearer Token Authorization |
17
+
|`follow_redirect`| if `true` (string) the plugin will follow up to 10 redirects (302, ...) |
18
+
|`query_parameters`| a list of query parameters, represented as (`name`, `value`) pairs; these will appended the query parameters present in the `url` field; parameters can be repeated (in either `url` or `query_parameters`) which will produce e.g. `?param=value1¶m=value2`|
19
+
|`trim_prefix`| prefix in the response that must be removed before unmarshalling (optional) |
20
+
|`insecure_skip_verify`| If `true` (string), disables server's certificate chain and host verification. |
0 commit comments