Use latest API from http_client using DEFAULT_HTTP_CLIENT,

that could use libcurl or EiffelNet depending on the configuration (.ecf).
This commit is contained in:
2016-09-26 13:13:57 +02:00
parent f010da04e9
commit df551d4a4f

View File

@@ -508,9 +508,9 @@ feature -- Helper
new_session (a_uri: READABLE_STRING_8): HTTP_CLIENT_SESSION
local
cl: LIBCURL_HTTP_CLIENT
cl: DEFAULT_HTTP_CLIENT
do
create cl.make
create cl
Result := cl.new_session (a_uri)
Result.set_is_insecure (True)
Result.set_max_redirects (5)