Module

HTTPure.Status

Package
purescript-httpure
Repository
citizennet/purescript-httpure

#Status Source

type Status = Int

The Status type enumerates all valid HTTP response status codes.

#write Source

write :: Response -> Status -> Effect Unit

Write a status to a given HTTP Response.

#continue Source

#switchingProtocols Source

#processing Source

#ok Source

ok :: Status

200

#created Source

#accepted Source

#nonAuthoritativeInformation Source

#noContent Source

#resetContent Source

#partialContent Source

#multiStatus Source

#alreadyReported Source

#iMUsed Source

iMUsed :: Status

226

#multipleChoices Source

#movedPermanently Source

#found Source

found :: Status

302

#seeOther Source

#notModified Source

#useProxy Source

#temporaryRedirect Source

#permanentRedirect Source

#badRequest Source

#unauthorized Source

#paymentRequired Source

#forbidden Source

#notFound Source

#methodNotAllowed Source

#notAcceptable Source

#proxyAuthenticationRequired Source

#requestTimeout Source

#conflict Source

#gone Source

gone :: Status

410

#lengthRequired Source

#preconditionFailed Source

#payloadTooLarge Source

#uRITooLong Source

#unsupportedMediaType Source

#rangeNotSatisfiable Source

#expectationFailed Source

#imATeapot Source

#misdirectedRequest Source

#unprocessableEntity Source

#locked Source

locked :: Status

423

#failedDependency Source

#upgradeRequired Source

#preconditionRequired Source

#tooManyRequests Source

#requestHeaderFieldsTooLarge Source

#unavailableForLegalReasons Source

#internalServerError Source

#notImplemented Source

#badGateway Source

#serviceUnavailable Source

#gatewayTimeout Source

#hTTPVersionNotSupported Source

#variantAlsoNegotiates Source

#insufficientStorage Source

#loopDetected Source

#notExtended Source

#networkAuthenticationRequired Source