summaryrefslogtreecommitdiff
path: root/Remote/Web.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Remote/Web.hs')
-rw-r--r--Remote/Web.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Remote/Web.hs b/Remote/Web.hs
index 2863d9d5e..d41b12b6a 100644
--- a/Remote/Web.hs
+++ b/Remote/Web.hs
@@ -117,9 +117,9 @@ checkKey' key us = firsthit us (Right False) $ \u -> do
return $ Left "quvi support needed for this url"
#endif
DefaultDownloader -> do
- headers <- getHttpHeaders
+ (headers, options) <- getHttpHeadersOptions
Url.withUserAgent $ catchMsgIO .
- Url.checkBoth u' headers (keySize key)
+ Url.checkBoth u' headers options (keySize key)
where
firsthit [] miss _ = return miss
firsthit (u:rest) _ a = do