Adds 'params_encoder' config option for Ruby clients using Faraday (#9839)

The partial templates were renamed because they no longer hold tls
settings exclusively.

fixes: #9838
This commit is contained in:
Dennis Kliban
2022-04-08 22:14:38 -04:00
committed by GitHub
parent cd56a4b1a1
commit e783e9b780
10 changed files with 43 additions and 26 deletions

View File

@@ -133,6 +133,7 @@ module DynamicServers
# https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L96
attr_accessor :params_encoding
attr_accessor :inject_format
attr_accessor :force_ending_format
@@ -150,10 +151,10 @@ module DynamicServers
@client_side_validation = true
@verify_ssl = true
@verify_ssl_host = true
@params_encoding = nil
@cert_file = nil
@key_file = nil
@timeout = 0
@params_encoding = nil
@debugging = false
@inject_format = false
@force_ending_format = false