Drop support for building with old versions of directory, feed, and http-types.
This commit is contained in:
parent
9ef7207d5a
commit
1c4e5f65fc
5 changed files with 6 additions and 28 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue