From b55c32d4c6cb63ffd6d9ce49eee8be95628c9746 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 10 Mar 2017 15:57:41 -0400 Subject: Drop support for building with old versions of directory, feed, and http-types. --- Utility/Url.hs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'Utility') 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)) -- cgit v1.2.3