Liking cljdoc? Tell your friends :D
Mostly clj.
Exceptions indicated.

burningswell.http.response


acceptedclj

(accepted & [body headers])

Returns a Ring response with the HTTP 202 status code.

Returns a Ring response with the HTTP 202 status code.
raw docstring

accepted?clj

(accepted? request)

Returns true if the request has the HTTP 202 status code, otherwise false.

Returns true if the request has the HTTP 202 status code, otherwise false.
raw docstring

bad-gatewayclj

(bad-gateway & [body headers])

Returns a Ring response with the HTTP 502 status code.

Returns a Ring response with the HTTP 502 status code.
raw docstring

bad-gateway?clj

(bad-gateway? request)

Returns true if the request has the HTTP 502 status code, otherwise false.

Returns true if the request has the HTTP 502 status code, otherwise false.
raw docstring

bad-requestclj

(bad-request & [body headers])

Returns a Ring response with the HTTP 400 status code.

Returns a Ring response with the HTTP 400 status code.
raw docstring

bad-request?clj

(bad-request? request)

Returns true if the request has the HTTP 400 status code, otherwise false.

Returns true if the request has the HTTP 400 status code, otherwise false.
raw docstring

bandwidth-limit-exceededclj

(bandwidth-limit-exceeded & [body headers])

Returns a Ring response with the HTTP 509 status code.

Returns a Ring response with the HTTP 509 status code.
raw docstring

bandwidth-limit-exceeded?clj

(bandwidth-limit-exceeded? request)

Returns true if the request has the HTTP 509 status code, otherwise false.

Returns true if the request has the HTTP 509 status code, otherwise false.
raw docstring

blocked-by-windows-parental-controlsclj

(blocked-by-windows-parental-controls & [body headers])

Returns a Ring response with the HTTP 450 status code.

Returns a Ring response with the HTTP 450 status code.
raw docstring

blocked-by-windows-parental-controls?clj

(blocked-by-windows-parental-controls? request)

Returns true if the request has the HTTP 450 status code, otherwise false.

Returns true if the request has the HTTP 450 status code, otherwise false.
raw docstring

checkpointclj

(checkpoint & [body headers])

Returns a Ring response with the HTTP 103 status code.

Returns a Ring response with the HTTP 103 status code.
raw docstring

checkpoint?clj

(checkpoint? request)

Returns true if the request has the HTTP 103 status code, otherwise false.

Returns true if the request has the HTTP 103 status code, otherwise false.
raw docstring

client-closed-requestclj

(client-closed-request & [body headers])

Returns a Ring response with the HTTP 499 status code.

Returns a Ring response with the HTTP 499 status code.
raw docstring

client-closed-request?clj

(client-closed-request? request)

Returns true if the request has the HTTP 499 status code, otherwise false.

Returns true if the request has the HTTP 499 status code, otherwise false.
raw docstring

conflictclj

(conflict & [body headers])

Returns a Ring response with the HTTP 409 status code.

Returns a Ring response with the HTTP 409 status code.
raw docstring

conflict?clj

(conflict? request)

Returns true if the request has the HTTP 409 status code, otherwise false.

Returns true if the request has the HTTP 409 status code, otherwise false.
raw docstring

continueclj

(continue & [body headers])

Returns a Ring response with the HTTP 100 status code.

Returns a Ring response with the HTTP 100 status code.
raw docstring

continue?clj

(continue? request)

Returns true if the request has the HTTP 100 status code, otherwise false.

Returns true if the request has the HTTP 100 status code, otherwise false.
raw docstring

createdclj

(created & [body headers])

Returns a Ring response with the HTTP 201 status code.

Returns a Ring response with the HTTP 201 status code.
raw docstring

created?clj

(created? request)

Returns true if the request has the HTTP 201 status code, otherwise false.

Returns true if the request has the HTTP 201 status code, otherwise false.
raw docstring

defstatusclj/smacro

(defstatus status name)

Define helper functions to generate and check HTTP status codes.

Define helper functions to generate and check HTTP status codes.
raw docstring

expectation-failedclj

(expectation-failed & [body headers])

Returns a Ring response with the HTTP 417 status code.

Returns a Ring response with the HTTP 417 status code.
raw docstring

expectation-failed?clj

(expectation-failed? request)

Returns true if the request has the HTTP 417 status code, otherwise false.

Returns true if the request has the HTTP 417 status code, otherwise false.
raw docstring

failed-dependencyclj

(failed-dependency & [body headers])

Returns a Ring response with the HTTP 424 status code.

Returns a Ring response with the HTTP 424 status code.
raw docstring

failed-dependency?clj

(failed-dependency? request)

Returns true if the request has the HTTP 424 status code, otherwise false.

Returns true if the request has the HTTP 424 status code, otherwise false.
raw docstring

forbiddenclj

(forbidden & [body headers])

Returns a Ring response with the HTTP 403 status code.

Returns a Ring response with the HTTP 403 status code.
raw docstring

forbidden?clj

(forbidden? request)

Returns true if the request has the HTTP 403 status code, otherwise false.

Returns true if the request has the HTTP 403 status code, otherwise false.
raw docstring

foundclj

(found & [body headers])

Returns a Ring response with the HTTP 302 status code.

Returns a Ring response with the HTTP 302 status code.
raw docstring

found?clj

(found? request)

Returns true if the request has the HTTP 302 status code, otherwise false.

Returns true if the request has the HTTP 302 status code, otherwise false.
raw docstring

gateway-timeoutclj

(gateway-timeout & [body headers])

Returns a Ring response with the HTTP 504 status code.

Returns a Ring response with the HTTP 504 status code.
raw docstring

gateway-timeout?clj

(gateway-timeout? request)

Returns true if the request has the HTTP 504 status code, otherwise false.

Returns true if the request has the HTTP 504 status code, otherwise false.
raw docstring

goneclj

(gone & [body headers])

Returns a Ring response with the HTTP 410 status code.

Returns a Ring response with the HTTP 410 status code.
raw docstring

gone?clj

(gone? request)

Returns true if the request has the HTTP 410 status code, otherwise false.

Returns true if the request has the HTTP 410 status code, otherwise false.
raw docstring

http-version-not-supportedclj

(http-version-not-supported & [body headers])

Returns a Ring response with the HTTP 505 status code.

Returns a Ring response with the HTTP 505 status code.
raw docstring

http-version-not-supported?clj

(http-version-not-supported? request)

Returns true if the request has the HTTP 505 status code, otherwise false.

Returns true if the request has the HTTP 505 status code, otherwise false.
raw docstring

im-a-teapotclj

(im-a-teapot & [body headers])

Returns a Ring response with the HTTP 418 status code.

Returns a Ring response with the HTTP 418 status code.
raw docstring

im-a-teapot?clj

(im-a-teapot? request)

Returns true if the request has the HTTP 418 status code, otherwise false.

Returns true if the request has the HTTP 418 status code, otherwise false.
raw docstring

im-usedclj

(im-used & [body headers])

Returns a Ring response with the HTTP 226 status code.

Returns a Ring response with the HTTP 226 status code.
raw docstring

im-used?clj

(im-used? request)

Returns true if the request has the HTTP 226 status code, otherwise false.

Returns true if the request has the HTTP 226 status code, otherwise false.
raw docstring

insufficient-storageclj

(insufficient-storage & [body headers])

Returns a Ring response with the HTTP 507 status code.

Returns a Ring response with the HTTP 507 status code.
raw docstring

insufficient-storage?clj

(insufficient-storage? request)

Returns true if the request has the HTTP 507 status code, otherwise false.

Returns true if the request has the HTTP 507 status code, otherwise false.
raw docstring

internal-server-errorclj

(internal-server-error & [body headers])

Returns a Ring response with the HTTP 500 status code.

Returns a Ring response with the HTTP 500 status code.
raw docstring

internal-server-error?clj

(internal-server-error? request)

Returns true if the request has the HTTP 500 status code, otherwise false.

Returns true if the request has the HTTP 500 status code, otherwise false.
raw docstring

length-requiredclj

(length-required & [body headers])

Returns a Ring response with the HTTP 411 status code.

Returns a Ring response with the HTTP 411 status code.
raw docstring

length-required?clj

(length-required? request)

Returns true if the request has the HTTP 411 status code, otherwise false.

Returns true if the request has the HTTP 411 status code, otherwise false.
raw docstring

lockedclj

(locked & [body headers])

Returns a Ring response with the HTTP 423 status code.

Returns a Ring response with the HTTP 423 status code.
raw docstring

locked?clj

(locked? request)

Returns true if the request has the HTTP 423 status code, otherwise false.

Returns true if the request has the HTTP 423 status code, otherwise false.
raw docstring

method-not-allowedclj

(method-not-allowed & [body headers])

Returns a Ring response with the HTTP 405 status code.

Returns a Ring response with the HTTP 405 status code.
raw docstring

method-not-allowed?clj

(method-not-allowed? request)

Returns true if the request has the HTTP 405 status code, otherwise false.

Returns true if the request has the HTTP 405 status code, otherwise false.
raw docstring

moved-permanentlyclj

(moved-permanently & [body headers])

Returns a Ring response with the HTTP 301 status code.

Returns a Ring response with the HTTP 301 status code.
raw docstring

moved-permanently?clj

(moved-permanently? request)

Returns true if the request has the HTTP 301 status code, otherwise false.

Returns true if the request has the HTTP 301 status code, otherwise false.
raw docstring

multi-statusclj

(multi-status & [body headers])

Returns a Ring response with the HTTP 207 status code.

Returns a Ring response with the HTTP 207 status code.
raw docstring

multi-status?clj

(multi-status? request)

Returns true if the request has the HTTP 207 status code, otherwise false.

Returns true if the request has the HTTP 207 status code, otherwise false.
raw docstring

multiple-choicesclj

(multiple-choices & [body headers])

Returns a Ring response with the HTTP 300 status code.

Returns a Ring response with the HTTP 300 status code.
raw docstring

multiple-choices?clj

(multiple-choices? request)

Returns true if the request has the HTTP 300 status code, otherwise false.

Returns true if the request has the HTTP 300 status code, otherwise false.
raw docstring

no-contentclj

(no-content & [body headers])

Returns a Ring response with the HTTP 204 status code.

Returns a Ring response with the HTTP 204 status code.
raw docstring

no-content?clj

(no-content? request)

Returns true if the request has the HTTP 204 status code, otherwise false.

Returns true if the request has the HTTP 204 status code, otherwise false.
raw docstring

no-responseclj

(no-response & [body headers])

Returns a Ring response with the HTTP 444 status code.

Returns a Ring response with the HTTP 444 status code.
raw docstring

no-response?clj

(no-response? request)

Returns true if the request has the HTTP 444 status code, otherwise false.

Returns true if the request has the HTTP 444 status code, otherwise false.
raw docstring

non-authoritative-informationclj

(non-authoritative-information & [body headers])

Returns a Ring response with the HTTP 203 status code.

Returns a Ring response with the HTTP 203 status code.
raw docstring

non-authoritative-information?clj

(non-authoritative-information? request)

Returns true if the request has the HTTP 203 status code, otherwise false.

Returns true if the request has the HTTP 203 status code, otherwise false.
raw docstring

not-acceptableclj

(not-acceptable & [body headers])

Returns a Ring response with the HTTP 406 status code.

Returns a Ring response with the HTTP 406 status code.
raw docstring

not-acceptable?clj

(not-acceptable? request)

Returns true if the request has the HTTP 406 status code, otherwise false.

Returns true if the request has the HTTP 406 status code, otherwise false.
raw docstring

not-extendedclj

(not-extended & [body headers])

Returns a Ring response with the HTTP 510 status code.

Returns a Ring response with the HTTP 510 status code.
raw docstring

not-extended?clj

(not-extended? request)

Returns true if the request has the HTTP 510 status code, otherwise false.

Returns true if the request has the HTTP 510 status code, otherwise false.
raw docstring

not-foundclj

(not-found & [body headers])

Returns a Ring response with the HTTP 404 status code.

Returns a Ring response with the HTTP 404 status code.
raw docstring

not-found?clj

(not-found? request)

Returns true if the request has the HTTP 404 status code, otherwise false.

Returns true if the request has the HTTP 404 status code, otherwise false.
raw docstring

not-implementedclj

(not-implemented & [body headers])

Returns a Ring response with the HTTP 501 status code.

Returns a Ring response with the HTTP 501 status code.
raw docstring

not-implemented?clj

(not-implemented? request)

Returns true if the request has the HTTP 501 status code, otherwise false.

Returns true if the request has the HTTP 501 status code, otherwise false.
raw docstring

not-modifiedclj

(not-modified & [body headers])

Returns a Ring response with the HTTP 304 status code.

Returns a Ring response with the HTTP 304 status code.
raw docstring

not-modified?clj

(not-modified? request)

Returns true if the request has the HTTP 304 status code, otherwise false.

Returns true if the request has the HTTP 304 status code, otherwise false.
raw docstring

okclj

(ok & [body headers])

Returns a Ring response with the HTTP 200 status code.

Returns a Ring response with the HTTP 200 status code.
raw docstring

ok?clj

(ok? request)

Returns true if the request has the HTTP 200 status code, otherwise false.

Returns true if the request has the HTTP 200 status code, otherwise false.
raw docstring

partial-contentclj

(partial-content & [body headers])

Returns a Ring response with the HTTP 206 status code.

Returns a Ring response with the HTTP 206 status code.
raw docstring

partial-content?clj

(partial-content? request)

Returns true if the request has the HTTP 206 status code, otherwise false.

Returns true if the request has the HTTP 206 status code, otherwise false.
raw docstring

payment-requiredclj

(payment-required & [body headers])

Returns a Ring response with the HTTP 402 status code.

Returns a Ring response with the HTTP 402 status code.
raw docstring

payment-required?clj

(payment-required? request)

Returns true if the request has the HTTP 402 status code, otherwise false.

Returns true if the request has the HTTP 402 status code, otherwise false.
raw docstring

precondition-failedclj

(precondition-failed & [body headers])

Returns a Ring response with the HTTP 412 status code.

Returns a Ring response with the HTTP 412 status code.
raw docstring

precondition-failed?clj

(precondition-failed? request)

Returns true if the request has the HTTP 412 status code, otherwise false.

Returns true if the request has the HTTP 412 status code, otherwise false.
raw docstring

processingclj

(processing & [body headers])

Returns a Ring response with the HTTP 102 status code.

Returns a Ring response with the HTTP 102 status code.
raw docstring

processing?clj

(processing? request)

Returns true if the request has the HTTP 102 status code, otherwise false.

Returns true if the request has the HTTP 102 status code, otherwise false.
raw docstring

proxy-authentication-requiredclj

(proxy-authentication-required & [body headers])

Returns a Ring response with the HTTP 407 status code.

Returns a Ring response with the HTTP 407 status code.
raw docstring

proxy-authentication-required?clj

(proxy-authentication-required? request)

Returns true if the request has the HTTP 407 status code, otherwise false.

Returns true if the request has the HTTP 407 status code, otherwise false.
raw docstring

request-entity-too-largeclj

(request-entity-too-large & [body headers])

Returns a Ring response with the HTTP 413 status code.

Returns a Ring response with the HTTP 413 status code.
raw docstring

request-entity-too-large?clj

(request-entity-too-large? request)

Returns true if the request has the HTTP 413 status code, otherwise false.

Returns true if the request has the HTTP 413 status code, otherwise false.
raw docstring

request-timeoutclj

(request-timeout & [body headers])

Returns a Ring response with the HTTP 408 status code.

Returns a Ring response with the HTTP 408 status code.
raw docstring

request-timeout?clj

(request-timeout? request)

Returns true if the request has the HTTP 408 status code, otherwise false.

Returns true if the request has the HTTP 408 status code, otherwise false.
raw docstring

request-uri-too-longclj

(request-uri-too-long & [body headers])

Returns a Ring response with the HTTP 414 status code.

Returns a Ring response with the HTTP 414 status code.
raw docstring

request-uri-too-long?clj

(request-uri-too-long? request)

Returns true if the request has the HTTP 414 status code, otherwise false.

Returns true if the request has the HTTP 414 status code, otherwise false.
raw docstring

requested-range-not-satisfiableclj

(requested-range-not-satisfiable & [body headers])

Returns a Ring response with the HTTP 416 status code.

Returns a Ring response with the HTTP 416 status code.
raw docstring

requested-range-not-satisfiable?clj

(requested-range-not-satisfiable? request)

Returns true if the request has the HTTP 416 status code, otherwise false.

Returns true if the request has the HTTP 416 status code, otherwise false.
raw docstring

reset-contentclj

(reset-content & [body headers])

Returns a Ring response with the HTTP 205 status code.

Returns a Ring response with the HTTP 205 status code.
raw docstring

reset-content?clj

(reset-content? request)

Returns true if the request has the HTTP 205 status code, otherwise false.

Returns true if the request has the HTTP 205 status code, otherwise false.
raw docstring

resume-incompleteclj

(resume-incomplete & [body headers])

Returns a Ring response with the HTTP 308 status code.

Returns a Ring response with the HTTP 308 status code.
raw docstring

resume-incomplete?clj

(resume-incomplete? request)

Returns true if the request has the HTTP 308 status code, otherwise false.

Returns true if the request has the HTTP 308 status code, otherwise false.
raw docstring

retry-withclj

(retry-with & [body headers])

Returns a Ring response with the HTTP 449 status code.

Returns a Ring response with the HTTP 449 status code.
raw docstring

retry-with?clj

(retry-with? request)

Returns true if the request has the HTTP 449 status code, otherwise false.

Returns true if the request has the HTTP 449 status code, otherwise false.
raw docstring

see-otherclj

(see-other & [body headers])

Returns a Ring response with the HTTP 303 status code.

Returns a Ring response with the HTTP 303 status code.
raw docstring

see-other?clj

(see-other? request)

Returns true if the request has the HTTP 303 status code, otherwise false.

Returns true if the request has the HTTP 303 status code, otherwise false.
raw docstring

service-unavailableclj

(service-unavailable & [body headers])

Returns a Ring response with the HTTP 503 status code.

Returns a Ring response with the HTTP 503 status code.
raw docstring

service-unavailable?clj

(service-unavailable? request)

Returns true if the request has the HTTP 503 status code, otherwise false.

Returns true if the request has the HTTP 503 status code, otherwise false.
raw docstring

switch-proxyclj

(switch-proxy & [body headers])

Returns a Ring response with the HTTP 306 status code.

Returns a Ring response with the HTTP 306 status code.
raw docstring

switch-proxy?clj

(switch-proxy? request)

Returns true if the request has the HTTP 306 status code, otherwise false.

Returns true if the request has the HTTP 306 status code, otherwise false.
raw docstring

switching-protocolsclj

(switching-protocols & [body headers])

Returns a Ring response with the HTTP 101 status code.

Returns a Ring response with the HTTP 101 status code.
raw docstring

switching-protocols?clj

(switching-protocols? request)

Returns true if the request has the HTTP 101 status code, otherwise false.

Returns true if the request has the HTTP 101 status code, otherwise false.
raw docstring

temporary-redirectclj

(temporary-redirect & [body headers])

Returns a Ring response with the HTTP 307 status code.

Returns a Ring response with the HTTP 307 status code.
raw docstring

temporary-redirect?clj

(temporary-redirect? request)

Returns true if the request has the HTTP 307 status code, otherwise false.

Returns true if the request has the HTTP 307 status code, otherwise false.
raw docstring

unauthorizedclj

(unauthorized & [body headers])

Returns a Ring response with the HTTP 401 status code.

Returns a Ring response with the HTTP 401 status code.
raw docstring

unauthorized?clj

(unauthorized? request)

Returns true if the request has the HTTP 401 status code, otherwise false.

Returns true if the request has the HTTP 401 status code, otherwise false.
raw docstring

unoredered-collectionclj

(unoredered-collection & [body headers])

Returns a Ring response with the HTTP 425 status code.

Returns a Ring response with the HTTP 425 status code.
raw docstring

unoredered-collection?clj

(unoredered-collection? request)

Returns true if the request has the HTTP 425 status code, otherwise false.

Returns true if the request has the HTTP 425 status code, otherwise false.
raw docstring

unprocessable-entityclj

(unprocessable-entity & [body headers])

Returns a Ring response with the HTTP 422 status code.

Returns a Ring response with the HTTP 422 status code.
raw docstring

unprocessable-entity?clj

(unprocessable-entity? request)

Returns true if the request has the HTTP 422 status code, otherwise false.

Returns true if the request has the HTTP 422 status code, otherwise false.
raw docstring

unsupported-media-typeclj

(unsupported-media-type & [body headers])

Returns a Ring response with the HTTP 415 status code.

Returns a Ring response with the HTTP 415 status code.
raw docstring

unsupported-media-type?clj

(unsupported-media-type? request)

Returns true if the request has the HTTP 415 status code, otherwise false.

Returns true if the request has the HTTP 415 status code, otherwise false.
raw docstring

upgrade-requiredclj

(upgrade-required & [body headers])

Returns a Ring response with the HTTP 426 status code.

Returns a Ring response with the HTTP 426 status code.
raw docstring

upgrade-required?clj

(upgrade-required? request)

Returns true if the request has the HTTP 426 status code, otherwise false.

Returns true if the request has the HTTP 426 status code, otherwise false.
raw docstring

use-proxyclj

(use-proxy & [body headers])

Returns a Ring response with the HTTP 305 status code.

Returns a Ring response with the HTTP 305 status code.
raw docstring

use-proxy?clj

(use-proxy? request)

Returns true if the request has the HTTP 305 status code, otherwise false.

Returns true if the request has the HTTP 305 status code, otherwise false.
raw docstring

variant-also-negotiatesclj

(variant-also-negotiates & [body headers])

Returns a Ring response with the HTTP 506 status code.

Returns a Ring response with the HTTP 506 status code.
raw docstring

variant-also-negotiates?clj

(variant-also-negotiates? request)

Returns true if the request has the HTTP 506 status code, otherwise false.

Returns true if the request has the HTTP 506 status code, otherwise false.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close