From: Siraaj Khandkar Date: Tue, 16 Mar 2021 15:30:11 +0000 (-0400) Subject: Fix variables for latest http-client update X-Git-Tag: 0.5.0~4 X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=dd3fa56adbb7d8497dc840315cec46883540ea61;p=tt.git Fix variables for latest http-client update --- diff --git a/TODO b/TODO index 7fa886d..6f8ab85 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,4 @@ +- [ ] remove dependency on http-client - [ ] optional text wrap - [ ] write - [ ] caching (use cache by default, unless explicitly asked for update) diff --git a/tt.rkt b/tt.rkt index 098a08e..230e6ac 100644 --- a/tt.rkt +++ b/tt.rkt @@ -246,11 +246,11 @@ (module+ main (require setup/getinfo) - (current-http-response-auto #f) + (current-http-client/response-auto #f) (let* ([prog-name "tt"] [prog-version ((get-info (list prog-name)) 'version)] [user-agent (user-agent prog-name prog-version)]) - (current-http-user-agent user-agent)) + (current-http-client/user-agent user-agent)) (let* ([use-cache #f] [log-level