githubraj1 / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

Configurable Custom HttpClient Instance #247

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
We developed a custom implementation of the HttpClient interface which deals 
with (a rather exotic, frankly) authentication to our platform. However I can't 
use Rest Assured since I can't use this HttpClient instance.

It would be great if Rest Assured supported custom http client instances. For 
example like this:

given()
    .config(newConfig().httpClient(httpClientConfig().useHttpClient(myCustomHttpClient)))
.expect()
    .statusCode(200)
.post("http://example.com");

Original issue reported on code.google.com by jan.dude...@gmail.com on 25 Jun 2013 at 1:16

GoogleCodeExporter commented 8 years ago
Yes this is a good idea and this is what I mean by issue 203.

Original comment by johan.ha...@gmail.com on 1 Jul 2013 at 1:58