OpenSearch/client/rest/src
Andrei Dan 1d83aca520
Drop assertion that rest client header warnings conform to RFC 7234 (#61365) (#61799)
This removes the assertion that the header warnings we parse in the
rest client reponses conform to RFC 7234	because we are not in full control
of the warnings that could be present in the responses (ie. proxies might
emit warnings that don't comply).

We still maintain this assertion on the ES side (see `HeaderWarning#addWarning`)
for the warnings we emit.

(cherry picked from commit 1259a46cbe84d32e85cd1a7455012d177b809702)
Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
2020-09-02 09:57:51 +01:00
..
main/java/org/elasticsearch/client Drop assertion that rest client header warnings conform to RFC 7234 (#61365) (#61799) 2020-09-02 09:57:51 +01:00
test [client] Handle non-default port in Cloud-Id (#61634) 2020-08-27 17:51:12 +02:00