darcs-beta-2.7.98.1: a distributed, interactive, smart revision control system

HTTP

Synopsis

Documentation

postUrlSource

Arguments

:: String

url

-> String

body

-> String

mime type

-> IO ()

result

data ConnectionError Source

Data type to represent a connection error. The following are the codes from libcurl which map to each of the constructors: * 6 -> CouldNotResolveHost : The remote host was not resolved. * 7 -> CouldNotConnectToServer : Failed to connect() to host or proxy. * 28 -> OperationTimeout: the specified time-out period was reached.