HTTPure.Response
- Package
- purescript-httpure
- Repository
- cprussin/purescript-httpure
#emptyResponse Source
emptyResponse :: Status -> ResponseM
The same as response
but without a body.
#emptyResponse' Source
emptyResponse' :: Status -> Headers -> ResponseM
The same as emptyResponse
but with headers.
#switchingProtocols Source
switchingProtocols :: ResponseM
101
#switchingProtocols' Source
switchingProtocols' :: Headers -> ResponseM
101 with headers
#processing Source
processing :: ResponseM
102
#processing' Source
processing' :: Headers -> ResponseM
102 with headers
#nonAuthoritativeInformation Source
nonAuthoritativeInformation :: Body -> ResponseM
203
#nonAuthoritativeInformation' Source
nonAuthoritativeInformation' :: Headers -> Body -> ResponseM
203 with headers
#noContent' Source
noContent' :: Headers -> ResponseM
204 with headers
#resetContent Source
resetContent :: ResponseM
205
#resetContent' Source
resetContent' :: Headers -> ResponseM
205 with headers
#partialContent Source
partialContent :: Body -> ResponseM
206
#multiStatus Source
multiStatus :: Body -> ResponseM
207
#alreadyReported Source
alreadyReported :: ResponseM
208
#alreadyReported' Source
alreadyReported' :: Headers -> ResponseM
208 with headers
#multipleChoices Source
multipleChoices :: Body -> ResponseM
300
#movedPermanently Source
movedPermanently :: Body -> ResponseM
301
#notModified Source
notModified :: ResponseM
304
#notModified' Source
notModified' :: Headers -> ResponseM
304 with headers
#temporaryRedirect Source
temporaryRedirect :: Body -> ResponseM
307
#permanentRedirect Source
permanentRedirect :: Body -> ResponseM
308
#badRequest Source
badRequest :: Body -> ResponseM
400
#unauthorized Source
unauthorized :: ResponseM
401
#unauthorized' Source
unauthorized' :: Headers -> ResponseM
401 with headers
#paymentRequired Source
paymentRequired :: ResponseM
402
#paymentRequired' Source
paymentRequired' :: Headers -> ResponseM
402 with headers
#forbidden' Source
forbidden' :: Headers -> ResponseM
403 with headers
#methodNotAllowed Source
methodNotAllowed :: ResponseM
405
#methodNotAllowed' Source
methodNotAllowed' :: Headers -> ResponseM
405 with headers
#notAcceptable Source
notAcceptable :: ResponseM
406
#notAcceptable' Source
notAcceptable' :: Headers -> ResponseM
406 with headers
#proxyAuthenticationRequired' Source
proxyAuthenticationRequired' :: Headers -> ResponseM
407 with headers
#requestTimeout Source
requestTimeout :: ResponseM
408
#requestTimeout' Source
requestTimeout' :: Headers -> ResponseM
408 with headers
#lengthRequired Source
lengthRequired :: ResponseM
411
#lengthRequired' Source
lengthRequired' :: Headers -> ResponseM
411 with headers
#preconditionFailed Source
preconditionFailed :: ResponseM
412
#preconditionFailed' Source
preconditionFailed' :: Headers -> ResponseM
412 with headers
#payloadTooLarge Source
payloadTooLarge :: ResponseM
413
#payloadTooLarge' Source
payloadTooLarge' :: Headers -> ResponseM
413 with headers
#uRITooLong Source
uRITooLong :: ResponseM
414
#uRITooLong' Source
uRITooLong' :: Headers -> ResponseM
414 with headers
#unsupportedMediaType' Source
unsupportedMediaType' :: Headers -> ResponseM
415 with headers
#rangeNotSatisfiable Source
rangeNotSatisfiable :: ResponseM
416
#rangeNotSatisfiable' Source
rangeNotSatisfiable' :: Headers -> ResponseM
416 with headers
#expectationFailed Source
expectationFailed :: ResponseM
417
#expectationFailed' Source
expectationFailed' :: Headers -> ResponseM
417 with headers
#imATeapot' Source
imATeapot' :: Headers -> ResponseM
418 with headers
#misdirectedRequest Source
misdirectedRequest :: ResponseM
421
#misdirectedRequest' Source
misdirectedRequest' :: Headers -> ResponseM
421 with headers
#unprocessableEntity Source
unprocessableEntity :: ResponseM
422
#unprocessableEntity' Source
unprocessableEntity' :: Headers -> ResponseM
422 with headers
#failedDependency Source
failedDependency :: ResponseM
424
#failedDependency' Source
failedDependency' :: Headers -> ResponseM
424 with headers
#upgradeRequired Source
upgradeRequired :: ResponseM
426
#upgradeRequired' Source
upgradeRequired' :: Headers -> ResponseM
426 with headers
#preconditionRequired' Source
preconditionRequired' :: Headers -> ResponseM
428 with headers
#tooManyRequests Source
tooManyRequests :: ResponseM
429
#tooManyRequests' Source
tooManyRequests' :: Headers -> ResponseM
429 with headers
#requestHeaderFieldsTooLarge' Source
requestHeaderFieldsTooLarge' :: Headers -> ResponseM
431 with headers
#internalServerError Source
internalServerError :: Body -> ResponseM
500
#notImplemented Source
notImplemented :: ResponseM
501
#notImplemented' Source
notImplemented' :: Headers -> ResponseM
501 with headers
#badGateway Source
badGateway :: ResponseM
502
#badGateway' Source
badGateway' :: Headers -> ResponseM
502 with headers
#gatewayTimeout Source
gatewayTimeout :: ResponseM
504
#gatewayTimeout' Source
gatewayTimeout' :: Headers -> ResponseM
504 with headers
#hTTPVersionNotSupported' Source
hTTPVersionNotSupported' :: Headers -> ResponseM
505 with headers
#variantAlsoNegotiates' Source
variantAlsoNegotiates' :: Headers -> ResponseM
506 with headers
#insufficientStorage Source
insufficientStorage :: ResponseM
507
#insufficientStorage' Source
insufficientStorage' :: Headers -> ResponseM
507 with headers
#loopDetected Source
loopDetected :: ResponseM
508
#loopDetected' Source
loopDetected' :: Headers -> ResponseM
508 with headers
#notExtended Source
notExtended :: ResponseM
510
#notExtended' Source
notExtended' :: Headers -> ResponseM
510 with headers
#networkAuthenticationRequired' Source
networkAuthenticationRequired' :: Headers -> ResponseM
511 with headers