summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-03-10 15:57:41 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-03-10 15:57:41 -0400
commitb55c32d4c6cb63ffd6d9ce49eee8be95628c9746 (patch)
treef4d15499f39cb35e4e13e0ff587b55877935bb0c /Utility
parent2878880f7b7de4ef78abf6c39434153a1a3647bc (diff)
Drop support for building with old versions of directory, feed, and http-types.
Diffstat (limited to 'Utility')
-rw-r--r--Utility/Url.hs8
1 files changed, 0 insertions, 8 deletions
diff --git a/Utility/Url.hs b/Utility/Url.hs
index 2b71b6be4..27bccd1b3 100644
--- a/Utility/Url.hs
+++ b/Utility/Url.hs
@@ -342,14 +342,6 @@ hAcceptEncoding = "Accept-Encoding"
hContentDisposition :: CI.CI B.ByteString
hContentDisposition = "Content-Disposition"
-#if ! MIN_VERSION_http_types(0,7,0)
-hContentLength :: CI.CI B.ByteString
-hContentLength = "Content-Length"
-
-hUserAgent :: CI.CI B.ByteString
-hUserAgent = "User-Agent"
-#endif
-
{- Use with eg:
-
- > catchJust (matchStatusCodeException (== notFound404))