Fix variables for latest http-client update
authorSiraaj Khandkar <siraaj@khandkar.net>
Tue, 16 Mar 2021 15:30:11 +0000 (11:30 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Tue, 16 Mar 2021 15:30:11 +0000 (11:30 -0400)
TODO
tt.rkt

diff --git a/TODO b/TODO
index 7fa886d..6f8ab85 100644 (file)
--- 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 (file)
--- a/tt.rkt
+++ b/tt.rkt
 (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
This page took 0.035561 seconds and 4 git commands to generate.