lib/elasticsearch/transport/transport/http/faraday.rb in elasticsearch-transport-0.4.7 vs lib/elasticsearch/transport/transport/http/faraday.rb in elasticsearch-transport-0.4.8
- old
+ new
@@ -20,10 +20,10 @@
super do |connection, url|
connection.connection.run_request \
method.downcase.to_sym,
url,
( body ? __convert_to_json(body) : nil ),
- {'Content-Type' => 'application/json'}
+ {}
end
end
# Builds and returns a collection of connections.
#