excess indent
This commit is contained in:
parent
f6d1825ce9
commit
91f1b2bdcf
1 changed files with 9 additions and 9 deletions
|
@ -140,15 +140,15 @@ exists url uo = case parseURIRelaxed url of
|
||||||
(responseHeaders resp)
|
(responseHeaders resp)
|
||||||
|
|
||||||
existsconduit req = withManager $ \mgr -> do
|
existsconduit req = withManager $ \mgr -> do
|
||||||
let req' = headRequest (applyRequest uo req)
|
let req' = headRequest (applyRequest uo req)
|
||||||
resp <- http req' mgr
|
resp <- http req' mgr
|
||||||
-- forces processing the response before the
|
-- forces processing the response before the
|
||||||
-- manager is closed
|
-- manager is closed
|
||||||
ret <- if responseStatus resp == ok200
|
ret <- if responseStatus resp == ok200
|
||||||
then return (True, extractlen resp)
|
then return (True, extractlen resp)
|
||||||
else liftIO dne
|
else liftIO dne
|
||||||
liftIO $ closeManager mgr
|
liftIO $ closeManager mgr
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
#if MIN_VERSION_http_conduit(2,0,0)
|
#if MIN_VERSION_http_conduit(2,0,0)
|
||||||
headRequest :: Request -> Request
|
headRequest :: Request -> Request
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue