Module

HTTPure.Status

#Status

type Status = Int

The Status type enumerates all valid HTTP response status codes.

#write

write :: Response -> Status -> Effect Unit

Write a status to a given HTTP Response.

#continue

#switchingProtocols

#processing

#ok

ok :: Status

200

#created

#accepted

#nonAuthoritativeInformation

#noContent

#resetContent

#partialContent

#multiStatus

#alreadyReported

#iMUsed

iMUsed :: Status

226

#multipleChoices

#movedPermanently

#found

found :: Status

302

#seeOther

#notModified

#useProxy

#temporaryRedirect

#permanentRedirect

#badRequest

#unauthorized

#paymentRequired

#forbidden

#notFound

#methodNotAllowed

#notAcceptable

#proxyAuthenticationRequired

#requestTimeout

#conflict

#gone

gone :: Status

410

#lengthRequired

#preconditionFailed

#payloadTooLarge

#uRITooLong

#unsupportedMediaType

#rangeNotSatisfiable

#expectationFailed

#imATeapot

#misdirectedRequest

#unprocessableEntity

#locked

locked :: Status

423

#failedDependency

#upgradeRequired

#preconditionRequired

#tooManyRequests

#requestHeaderFieldsTooLarge

#unavailableForLegalReasons

#internalServerError

#notImplemented

#badGateway

#serviceUnavailable

#gatewayTimeout

#hTTPVersionNotSupported

#variantAlsoNegotiates

#insufficientStorage

#loopDetected

#notExtended

#networkAuthenticationRequired

Modules