diff --git a/Network/HTTP/Types/URI.hs b/Network/HTTP/Types/URI.hs
--- a/Network/HTTP/Types/URI.hs
+++ b/Network/HTTP/Types/URI.hs
@@ -196,7 +196,9 @@
 urlEncodeBuilder False = urlEncodeBuilder' unreservedPI
 
 -- | Percent-encoding for URLs.
-urlEncode :: Bool -> B.ByteString -> B.ByteString
+urlEncode :: Bool -- ^ Whether to decode '+' to ' '
+          -> B.ByteString -- ^ The ByteString to encode as URL
+          -> B.ByteString -- ^ The encoded URL
 urlEncode q = Blaze.toByteString . urlEncodeBuilder q
 
 -- | Percent-decoding.
diff --git a/http-types.cabal b/http-types.cabal
--- a/http-types.cabal
+++ b/http-types.cabal
@@ -1,5 +1,5 @@
 Name:                http-types
-Version:             0.8.5
+Version:             0.8.6
 Synopsis:            Generic HTTP types for Haskell (for both client and server code).
 Description:         Generic HTTP types for Haskell (for both client and server code).
 Homepage:            https://github.com/aristidb/http-types
@@ -16,7 +16,7 @@
 Source-repository this
   type: git
   location: https://github.com/aristidb/http-types.git
-  tag: 0.8.4
+  tag: 0.8.6
 
 Source-repository head
   type: git
@@ -35,7 +35,7 @@
                        bytestring >=0.9.1.5 && <0.11,
                        array >=0.2 && <0.6,
                        case-insensitive >=0.2 && <1.3,
-                       blaze-builder >= 0.2.1.4 && < 0.4,
+                       blaze-builder >= 0.2.1.4 && < 0.5,
                        text >= 0.11.0.2
 
 Test-suite spec
