summaryrefslogtreecommitdiff
path: root/Utility/Url.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-07-28 15:27:36 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-07-28 16:55:42 -0400
commit217068206893864ed05911c3b06d8fdb802750a1 (patch)
tree3bfa87ee63197405f3aa18138eb8affd3ce7c7e7 /Utility/Url.hs
parent468e2c789371f924ec4586148e4e9e5618c58303 (diff)
importfeed: git-annex becomes a podcatcher in 150 LOC
Diffstat (limited to 'Utility/Url.hs')
-rw-r--r--Utility/Url.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Utility/Url.hs b/Utility/Url.hs
index c8020c814..508b9eeb4 100644
--- a/Utility/Url.hs
+++ b/Utility/Url.hs
@@ -130,6 +130,9 @@ download' quiet url headers options file =
-
- This does its own redirect following because Browser's is buggy for HEAD
- requests.
+ -
+ - Unfortunately, does not handle https, so should only be used
+ - when curl is not available.
-}
request :: URI -> Headers -> RequestMethod -> IO (Response String)
request url headers requesttype = go 5 url