>> client = Elasticsearch::Client.new
>> client.index(index: "foo", type: "OK", body: {})
% nc -l 9200
POST /foo/OK HTTP/1.1
User-Agent: Faraday v0.11.0
Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept: */*
Connection: close
Host: localhost:9200
Content-Length: 2
Content-Type: application/x-www-form-urlencoded
Expected Content-Type: application/json