diff --git a/cmd/http_handlers.pony b/cmd/http_handlers.pony index 66dab46..ca84a07 100644 --- a/cmd/http_handlers.pony +++ b/cmd/http_handlers.pony @@ -14,7 +14,7 @@ class val HTTPGet _notify = notify fun apply(url_string: String, hf: HandlerFactory val) => - let client = HTTPClient(TCPConnectAuth(_auth) where keepalive_timeout_secs = 10) + let client = HTTPClient(TCPConnectAuth(_auth), hf, where keepalive_timeout_secs = 10) let url = try URL.valid(url_string)? @@ -26,7 +26,7 @@ class val HTTPGet let req = Payload.request("GET", url) req("User-Agent") = "ponyup" try - client(consume req, hf)? + client(consume req)? else _notify.log(Err, "server unreachable, please try again later") end diff --git a/corral.json b/corral.json index cd362d6..07d9d6a 100644 --- a/corral.json +++ b/corral.json @@ -10,7 +10,7 @@ }, { "locator": "github.com/ponylang/http.git", - "version": "0.5.4" + "version": "0.6.0" }, { "locator": "github.com/ponylang/json.git",