Remove http-client CPP conditionals.
Our lower bound on http-client is 0.5, and both of these min_version tests are less than 0.5, so they will always pass.
This commit is contained in:
parent
7d9f2d3657
commit
3f82471355
1 changed files with 1 additions and 10 deletions
|
@ -152,16 +152,7 @@ import Paths_pandoc (getDataFileName)
|
|||
#ifdef HTTP_CLIENT
|
||||
import Network.HTTP.Client (httpLbs, responseBody, responseHeaders,
|
||||
Request(port,host))
|
||||
#if MIN_VERSION_http_client(0,4,30)
|
||||
import Network.HTTP.Client (parseRequest)
|
||||
#else
|
||||
import Network.HTTP.Client (parseUrl)
|
||||
#endif
|
||||
#if MIN_VERSION_http_client(0,4,18)
|
||||
import Network.HTTP.Client (newManager)
|
||||
#else
|
||||
import Network.HTTP.Client (withManager)
|
||||
#endif
|
||||
import Network.HTTP.Client (parseRequest, newManager)
|
||||
import Network.HTTP.Client.Internal (addProxy)
|
||||
import Network.HTTP.Client.TLS (tlsManagerSettings)
|
||||
import System.Environment (getEnv)
|
||||
|
|
Loading…
Add table
Reference in a new issue