darcs-2.18.3: a distributed, interactive, smart revision control system
Safe HaskellSafe-Inferred
LanguageHaskell2010

Darcs.Util.HTTP

Synopsis

Documentation

data Cachable Source #

Constructors

Cachable 
Uncachable 
MaxAge !CInt 

Instances

Instances details
Show Cachable Source # 
Instance details

Defined in Darcs.Util.HTTP

Eq Cachable Source # 
Instance details

Defined in Darcs.Util.HTTP

postUrl Source #

Arguments

:: String

url

-> ByteString

body

-> String

mime type

-> IO ()

result

configureHttpConnectionManager :: IO () Source #

To be called from main program in order to set up a connection manager with changed TLS settings. Particularly, since tls-2.0 the default value for supportedExtendedMainSecret was changed from AllowEMS to RequireEMS, which is currently (2024-05-19) not yet supported by hub.darcs.net.