Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.
I am using the PerformRequest function to build a proxy endpoint to elasticsearch for administrative purpose. I am passing the following option to the PerformRequest function:
I am expecting the PerformRequest function to proxy these calls seemlessly
Please describe the actual behavior
PerformRequest is not returning the response body all the time. e.g. if path is /_tasks it return the task lists, however, if the path is /_cat/aliases I am getting the response body as nil. Also the response contains all the headers including the status code as well which is 200.
Please use the following questions as a guideline to help me answer your issue/question without further inquiry. Thank you.
I am using the PerformRequest function to build a proxy endpoint to elasticsearch for administrative purpose. I am passing the following option to the PerformRequest function:
Which version of Elastic are you using?
[x] elastic.v7 (for Elasticsearch 7.x) [ ] elastic.v6 (for Elasticsearch 6.x) [ ] elastic.v5 (for Elasticsearch 5.x) [ ] elastic.v3 (for Elasticsearch 2.x) [ ] elastic.v2 (for Elasticsearch 1.x)
Please describe the expected behavior
I am expecting the PerformRequest function to proxy these calls seemlessly
Please describe the actual behavior
PerformRequest is not returning the response body all the time. e.g. if path is
/_tasks
it return the task lists, however, if the path is/_cat/aliases
I am getting the response body asnil
. Also the response contains all the headers including the status code as well which is 200.Any steps to reproduce the behavior?
Use the mentioned payload.