Liking cljdoc? Tell your friends :D
Clojure only.

burningswell.http.response


accepted

(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?

(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-gateway

(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?

(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-request

(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?

(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-exceeded

(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?

(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-controls

(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?

(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

checkpoint

(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?

(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-request

(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?

(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

conflict

(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?

(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

continue

(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?

(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

created

(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?

(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

defstatusmacro

(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-failed

(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?

(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-dependency

(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?

(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

forbidden

(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?

(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

found

(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?

(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-timeout

(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?

(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

gone

(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?

(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-supported

(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?

(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-teapot

(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?

(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-used

(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?

(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-storage

(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?

(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-error

(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?

(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-required

(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?

(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

locked

(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?

(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-allowed

(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?

(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-permanently

(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?

(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-status

(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?

(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-choices

(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?

(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-content

(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?

(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-response

(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?

(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-information

(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?

(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-acceptable

(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?

(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-extended

(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?

(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-found

(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?

(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-implemented

(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?

(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-modified

(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?

(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

ok

(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?

(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-content

(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?

(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-required

(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?

(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-failed

(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?

(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

processing

(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?

(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-required

(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?

(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-large

(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?

(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-timeout

(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?

(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-long

(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?

(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-satisfiable

(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?

(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-content

(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?

(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-incomplete

(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?

(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-with

(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?

(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-other

(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?

(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-unavailable

(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?

(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-proxy

(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?

(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-protocols

(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?

(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-redirect

(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?

(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

unauthorized

(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?

(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-collection

(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?

(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-entity

(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?

(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-type

(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?

(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-required

(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?

(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-proxy

(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?

(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-negotiates

(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?

(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