Justin Moy
02/23/2021, 3:32 PMHttpResponse
from a <http://client.post|client.post><HttpResponse>(url) {}
it does not seem to throw any exceptions on 4xx or 5xx response codes. Is this the intended behavior? It doesn’t mention on the docs that the default response validator doesn’t fire in this scenario. If the type is switched from HttpResponse
to String
it throws the errorJustin Moy
02/23/2021, 3:45 PMresponse.readText()
the validators will not fire and no exception will be thrown.Justin Moy
02/23/2021, 3:59 PM1.4
Rustam Siniukov
02/23/2021, 4:05 PMJustin Moy
02/23/2021, 4:28 PM