This sample
response = client.call(:get, '/', headers: { 'x-custom': 'custom' })
fails with the error:
gems/net-http2-0.18.5/lib/net-http2/request.rb:43:in 'sort': comparison of Array with Array failed (ArgumentError)
Workaround: use only strings as keys ('x-custom' => 'custom')
This sample
response = client.call(:get, '/', headers: { 'x-custom': 'custom' })
fails with the error:gems/net-http2-0.18.5/lib/net-http2/request.rb:43:in 'sort': comparison of Array with Array failed (ArgumentError)
Workaround: use only strings as keys (
'x-custom' => 'custom'
)