c9b3de6f23
This commit changes the toXContent() method so that it generates content that can be parsed again by the parse() method. Before this commit, the authentication of the HTTP request is rendered as: { "auth": {"username": "foo", "password": "bar" } } but the parsing method expects the authentication type to be a root object: { "auth": { "basic" : {"username": "foo", "password": "bar" } } } The toXContent method has been adapted to include the type of authentication in the generated content. Original commit: elastic/x-pack-elasticsearch@b740466109 |
||
---|---|---|
.. | ||
bin/x-pack | ||
config/x-pack | ||
keys | ||
src | ||
NOTICE.txt | ||
build.gradle |