Documentation: Add username/password parameters for basic auth (elastic/x-pack-elasticsearch#4126)

relates elastic/x-pack-elasticsearch#4070

Original commit: elastic/x-pack-elasticsearch@19d7002d3c
This commit is contained in:
Alexander Reelsen 2018-03-15 11:59:15 -07:00 committed by GitHub
parent c10b2ea631
commit 7712ab37d1
1 changed files with 3 additions and 2 deletions

View File

@ -201,8 +201,9 @@ In addition all the headers from the response can be accessed using the
with on of those four parameters. As those parameters are set, with on of those four parameters. As those parameters are set,
specifying them individually might overwrite them. specifying them individually might overwrite them.
| `request.auth` | no | - | Authentication related HTTP headers. Currently, only basic | `request.auth.basic.username` | no | - | HTTP basic authentication username
authentication is supported.
| `request.auth.basic.password` | no | - | HTTP basic authentication password
| `request.proxy.host` | no | - | The proxy host to use when connecting to the host. | `request.proxy.host` | no | - | The proxy host to use when connecting to the host.