about summary refs log tree commit diff
path: root/users/Profpatsch/whatcd-resolver/src/Http.hs
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2024-08-04T09·14+0200
committerProfpatsch <mail@profpatsch.de>2024-08-06T09·59+0000
commit37b2c2ce7892487b1c31d6ad3f7988841014ba89 (patch)
tree00f4a4eac054c331f7a08781e6bc5a211522b7f3 /users/Profpatsch/whatcd-resolver/src/Http.hs
parent8908fd18ca1603a24b234f9e1a01375dddf0b39b (diff)
refactor(users/Profpatsch/whatcd-resolver): continue http r/8445
Ideally there’d be a better generic abstraction of doing basic http
calls (with tracing) in the future, but for now just reexport.

Change-Id: Id7548739ea62e9172f2773f8db79fe726096b7f1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12136
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'users/Profpatsch/whatcd-resolver/src/Http.hs')
-rw-r--r--users/Profpatsch/whatcd-resolver/src/Http.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/Profpatsch/whatcd-resolver/src/Http.hs b/users/Profpatsch/whatcd-resolver/src/Http.hs
index 4376b721e80a..f0f635e7d837 100644
--- a/users/Profpatsch/whatcd-resolver/src/Http.hs
+++ b/users/Profpatsch/whatcd-resolver/src/Http.hs
@@ -5,11 +5,15 @@ module Http
     RequestOptions (..),
     mkRequestOptions,
     httpJson,
+    Http.httpBS,
+    Http.Request,
     Http.setRequestMethod,
+    Http.setQueryString,
     Http.setRequestBodyLBS,
     Http.setRequestHeader,
     Http.getResponseStatus,
     Http.getResponseHeader,
+    Http.getResponseHeaders,
     Http.getResponseBody,
   )
 where