default_curl_opts =
[ -- The Global cache is not thread-friendly.
CurlDNSUseGlobalCache False,
-
+
-- And we don't want to use a DNS cache anyway.
CurlDNSCacheTimeout 0,
CurlCookieJar cookie_jar,
CurlPost True,
CurlPostFields post_data ]
-
+
curl_opts :: [CurlOption]
curl_opts = default_curl_opts ++ post_opts