jayway/rest-assured — pull request #3 by wk66 (2012-03-22 08:33:55+00:00)
Title: fix for ignored proxy system properties in 1.5

Hi guys,
what do you think about this fix regarding HTTP proxy handling? In rest-assured 1.5 you use the apache httpclient which by default ignores proxy settings.

As described here http://hc.apache.org/httpcomponents-client-ga/tutorial/html/connmgmt.html#d5e582 in the HttpClient Tutorial: "The DefaultHttpRoutePlanner implementation does not make use of any Java system properties, nor any system or browser proxy settings."

So I changed it in RequestSpecificationImpl.groovy. I did it here because I couldn't figure out how to configure RestAssured properly using those configuration methods. I used a hint from http://freeside.co/betamax/#groovy_httpbuilder .

Best regards, Wolfram