diff --git a/ltiv1p1.cabal b/ltiv1p1.cabal
--- a/ltiv1p1.cabal
+++ b/ltiv1p1.cabal
@@ -1,5 +1,5 @@
 name: ltiv1p1
-version: 1.0.0.2
+version: 1.0.0.3
 cabal-version: 1.12
 build-type: Simple
 license: MIT
diff --git a/src/Web/LTI.hs b/src/Web/LTI.hs
--- a/src/Web/LTI.hs
+++ b/src/Web/LTI.hs
@@ -131,7 +131,11 @@
 convertRequest :: Wai.Request
                -> HTTP.RequestBody
                -> HTTP.Request
+#if MIN_VERSION_http_client(0, 4, 30)
+convertRequest wr rbody = HTTP.defaultRequest
+#else
 convertRequest wr rbody = def
+#endif
     { HTTP.method = Wai.requestMethod wr
     , HTTP.secure = Wai.appearsSecure wr
     , HTTP.host = whost
