forked from uken/fluent-plugin-elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include 'Content-Type' header in
transport_options
Starting with Elasticsearch 5.3, rest requests without an explicit Content-Type are deprecated and it'll log a warning for every request that is sent without a Content-Type header. I addressed this in a similar manner to how `elasticsearch-ruby` did, see [1], [2]. [1]: elastic/elasticsearch-ruby#400 [2]: elastic/elasticsearch-ruby@76f8679
- Loading branch information
1 parent
83f978f
commit ce123ee
Showing
4 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters