{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/593","repository_url":"https://api.github.com/repos/elastic/elasticsearch-php","labels_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/593/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/593/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/593/events","html_url":"https://github.com/elastic/elasticsearch-php/issues/593","id":237760680,"number":593,"title":"WARN Content type detection for rest requests is deprecated","user":{"login":"erikvanderschaaf","id":6861182,"avatar_url":"https://avatars2.githubusercontent.com/u/6861182?v=3","gravatar_id":"","url":"https://api.github.com/users/erikvanderschaaf","html_url":"https://github.com/erikvanderschaaf","followers_url":"https://api.github.com/users/erikvanderschaaf/followers","following_url":"https://api.github.com/users/erikvanderschaaf/following{/other_user}","gists_url":"https://api.github.com/users/erikvanderschaaf/gists{/gist_id}","starred_url":"https://api.github.com/users/erikvanderschaaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikvanderschaaf/subscriptions","organizations_url":"https://api.github.com/users/erikvanderschaaf/orgs","repos_url":"https://api.github.com/users/erikvanderschaaf/repos","events_url":"https://api.github.com/users/erikvanderschaaf/events{/privacy}","received_events_url":"https://api.github.com/users/erikvanderschaaf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-06-22T07:54:56Z","updated_at":"2017-07-03T07:55:19Z","closed_at":null,"body":"I'm seeing a lot of these warnings in our logs\r\n\r\n> [2017-06-21T09:36:18,650][WARN ][org.elasticsearch.deprecation.rest.RestController] Content type detection for rest requests is deprecated. Specify the content type using the [Content-Type] header.\r\n\r\nWe're running Elastic version 5.3.2 in the cloud, with elasticsearch-php version 5.2.0\r\n\r\nThis issue is created as a request from @polyfractal here:\r\nhttps://discuss.elastic.co/t/warn-content-type-detection-for-rest-requests-is-deprecated/90269\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/comments/312575318","html_url":"https://github.com/elastic/elasticsearch-php/issues/593#issuecomment-312575318","issue_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/593","id":312575318,"user":{"login":"erikvanderschaaf","id":6861182,"avatar_url":"https://avatars2.githubusercontent.com/u/6861182?v=3","gravatar_id":"","url":"https://api.github.com/users/erikvanderschaaf","html_url":"https://github.com/erikvanderschaaf","followers_url":"https://api.github.com/users/erikvanderschaaf/followers","following_url":"https://api.github.com/users/erikvanderschaaf/following{/other_user}","gists_url":"https://api.github.com/users/erikvanderschaaf/gists{/gist_id}","starred_url":"https://api.github.com/users/erikvanderschaaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikvanderschaaf/subscriptions","organizations_url":"https://api.github.com/users/erikvanderschaaf/orgs","repos_url":"https://api.github.com/users/erikvanderschaaf/repos","events_url":"https://api.github.com/users/erikvanderschaaf/events{/privacy}","received_events_url":"https://api.github.com/users/erikvanderschaaf/received_events","type":"User","site_admin":false},"created_at":"2017-07-03T07:55:19Z","updated_at":"2017-07-03T07:55:19Z","body":"There is one script that's running each day at 1:05 (with our timezone that would be 23:05 in the logs), that does `shell_exec( 'curl -s ' . $url . '/_aliases' )`, but this is not giving that warning.\r\n\r\nActually the last time the warning occured was june 28th as 13:13.\r\n"}}
{"actor":{"display_login":"erikvanderschaaf"}}