jgritman / httpbuilder

314 stars 154 forks source link

Option to use SystemDefaultHttpClient #58

Open obildtsen opened 8 years ago

obildtsen commented 8 years ago

It would be neat to let the user choose whether to use SystemDefaultHttpClient instead of the current standard which is DefaultHttpClient. By using SystemDefaultHttpClient instead, all the standard Apache settings (including but not limited to proxy properties) would be applied seamlessly.

See here for more details: http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/SystemDefaultHttpClient.html.