@@ -26,21 +26,21 @@ Product check on first request
2626
2727Starting in v7.14.0 the client performs a required product check before
2828the first API call is executed. This product check allows the client to
29- establish that it's communicating with a valid Elasticsearch cluster.
29+ establish that it's communicating with a supported Elasticsearch cluster.
3030
3131The product check requires a single HTTP request to the ``info `` API. In
3232most cases this request will succeed quickly and then no further product
3333check HTTP requests will be sent.
3434
3535The product check will verify that the ``X-Elastic-Product: Elasticsearch ``
36- HTTP header is being sent or if the ``info `` API response has proper values
37- of `` tagline `` and `` version.build_flavor `` .
38-
39- If the client detects that it's not connected to Elasticsearch the
40- `` NotElasticsearchError `` exception will be raised. In previous versions
41- of Elasticsearch the ``info `` API required additional permissions so
42- if an authentication or authorization error is raised during the
43- product check then an ``ElasticsearchWarning `` is raised and the client
36+ HTTP header is being sent or if the ``info `` API indicates a supported
37+ distribution of Elasticsearch .
38+
39+ If the client detects that it's not connected to a supported distribution of
40+ Elasticsearch the `` UnsupportedProductError `` exception will be raised.
41+ In previous versions of Elasticsearch the ``info `` API required additional
42+ permissions so if an authentication or authorization error is raised during
43+ the product check then an ``ElasticsearchWarning `` is raised and the client
4444proceeds normally.
4545
4646.. py :module :: elasticsearch.connection
0 commit comments