We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45ed8cd commit fc74631Copy full SHA for fc74631
elasticsearch-transport/lib/elasticsearch/transport/client.rb
@@ -173,13 +173,6 @@ def set_api_key
173
add_header('Authorization' => "ApiKey #{@api_key}")
174
@arguments.delete(:user)
175
@arguments.delete(:password)
176
- # headers = @arguments[:transport_options]&.[](:headers) || {}
177
- # headers.merge!('Authorization' => "ApiKey #{@api_key}")
178
- # @arguments[:transport_options].merge!(
179
- # headers: headers
180
- # )
181
- # @arguments.delete(:user)
182
- # @arguments.delete(:password)
183
end
184
185
def add_header(header)
0 commit comments