expectSuccess

Terminates HttpClient.receivePipeline if the status code is not successful (>=300). Learn more from Response validation.