aboutsummaryrefslogtreecommitdiff
path: root/Utility/Url.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-01-22 13:47:06 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-01-22 13:47:06 -0400
commitc222a65270a95a59307377f81522a46d95db6e9a (patch)
tree00c1f734a98eaa2eb28b1b92d8e5530bd286c726 /Utility/Url.hs
parentdc45030d964ef6b9de01841013ece8f72f49d6cc (diff)
excess indent
Diffstat (limited to 'Utility/Url.hs')
-rw-r--r--Utility/Url.hs18
1 files changed, 9 insertions, 9 deletions
diff --git a/Utility/Url.hs b/Utility/Url.hs
index 9d131353a..b6af123b9 100644
--- a/Utility/Url.hs
+++ b/Utility/Url.hs
@@ -140,15 +140,15 @@ exists url uo = case parseURIRelaxed url of
(responseHeaders resp)
existsconduit req = withManager $ \mgr -> do
- let req' = headRequest (applyRequest uo req)
- resp <- http req' mgr
- -- forces processing the response before the
- -- manager is closed
- ret <- if responseStatus resp == ok200
- then return (True, extractlen resp)
- else liftIO dne
- liftIO $ closeManager mgr
- return ret
+ let req' = headRequest (applyRequest uo req)
+ resp <- http req' mgr
+ -- forces processing the response before the
+ -- manager is closed
+ ret <- if responseStatus resp == ok200
+ then return (True, extractlen resp)
+ else liftIO dne
+ liftIO $ closeManager mgr
+ return ret
#if MIN_VERSION_http_conduit(2,0,0)
headRequest :: Request -> Request