Liking cljdoc? Tell your friends :D

ring.util.http-predicates


accepted?clj/s

(accepted? response)

Checks whether the response has status code 202

Checks whether the response has status code 202
source (clj)source (cljs)raw docstring

already-reported?clj/s

(already-reported? response)

Checks whether the response has status code 208

Checks whether the response has status code 208
source (clj)source (cljs)raw docstring

bad-gateway?clj/s

(bad-gateway? response)

Checks whether the response has status code 502

Checks whether the response has status code 502
source (clj)source (cljs)raw docstring

bad-request?clj/s

(bad-request? response)

Checks whether the response has status code 400

Checks whether the response has status code 400
source (clj)source (cljs)raw docstring

bandwidth-limit-exceeded?clj/s

(bandwidth-limit-exceeded? response)

Checks whether the response has status code 509

Checks whether the response has status code 509
source (clj)source (cljs)raw docstring

blocked-by-windows-parental-controls?clj/s

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

Checks whether the response has status code 450

Checks whether the response has status code 450
source (clj)source (cljs)raw docstring

client-error?clj/s

(client-error? response)

Check whether the response type is ClientError (status code is between 400 and 499).

Check whether the response type is ClientError (status code is between
400 and 499).
source (clj)source (cljs)raw docstring

conflict?clj/s

(conflict? response)

Checks whether the response has status code 409

Checks whether the response has status code 409
source (clj)source (cljs)raw docstring

continue?clj/s

(continue? response)

Checks whether the response has status code 100

Checks whether the response has status code 100
source (clj)source (cljs)raw docstring

created?clj/s

(created? response)

Checks whether the response has status code 201

Checks whether the response has status code 201
source (clj)source (cljs)raw docstring

enhance-your-calm?clj/s

(enhance-your-calm? response)

Checks whether the response has status code 420

Checks whether the response has status code 420
source (clj)source (cljs)raw docstring

expectation-failed?clj/s

(expectation-failed? response)

Checks whether the response has status code 417

Checks whether the response has status code 417
source (clj)source (cljs)raw docstring

failed-dependency?clj/s

(failed-dependency? response)

Checks whether the response has status code 424

Checks whether the response has status code 424
source (clj)source (cljs)raw docstring

forbidden?clj/s

(forbidden? response)

Checks whether the response has status code 403

Checks whether the response has status code 403
source (clj)source (cljs)raw docstring

found?clj/s

(found? response)

Checks whether the response has status code 302

Checks whether the response has status code 302
source (clj)source (cljs)raw docstring

gateway-timeout?clj/s

(gateway-timeout? response)

Checks whether the response has status code 504

Checks whether the response has status code 504
source (clj)source (cljs)raw docstring

gone?clj/s

(gone? response)

Checks whether the response has status code 410

Checks whether the response has status code 410
source (clj)source (cljs)raw docstring

http-version-not-supported?clj/s

(http-version-not-supported? response)

Checks whether the response has status code 505

Checks whether the response has status code 505
source (clj)source (cljs)raw docstring

im-a-teapot?clj/s

(im-a-teapot? response)

Checks whether the response has status code 418

Checks whether the response has status code 418
source (clj)source (cljs)raw docstring

im-used?clj/s

(im-used? response)

Checks whether the response has status code 226

Checks whether the response has status code 226
source (clj)source (cljs)raw docstring

informational?clj/s

(informational? response)

Check whether the response type is Informational (status code is between 100 and 199).

Check whether the response type is Informational (status code is between
100 and 199).
source (clj)source (cljs)raw docstring

insufficient-storage?clj/s

(insufficient-storage? response)

Checks whether the response has status code 507

Checks whether the response has status code 507
source (clj)source (cljs)raw docstring

internal-server-error?clj/s

(internal-server-error? response)

Checks whether the response has status code 500

Checks whether the response has status code 500
source (clj)source (cljs)raw docstring

length-required?clj/s

(length-required? response)

Checks whether the response has status code 411

Checks whether the response has status code 411
source (clj)source (cljs)raw docstring

locked?clj/s

(locked? response)

Checks whether the response has status code 423

Checks whether the response has status code 423
source (clj)source (cljs)raw docstring

loop-detected?clj/s

(loop-detected? response)

Checks whether the response has status code 508

Checks whether the response has status code 508
source (clj)source (cljs)raw docstring

method-not-allowed?clj/s

(method-not-allowed? response)

Checks whether the response has status code 405

Checks whether the response has status code 405
source (clj)source (cljs)raw docstring

moved-permanently?clj/s

(moved-permanently? response)

Checks whether the response has status code 301

Checks whether the response has status code 301
source (clj)source (cljs)raw docstring

multi-status?clj/s

(multi-status? response)

Checks whether the response has status code 207

Checks whether the response has status code 207
source (clj)source (cljs)raw docstring

multiple-choices?clj/s

(multiple-choices? response)

Checks whether the response has status code 300

Checks whether the response has status code 300
source (clj)source (cljs)raw docstring

network-authentication-required?clj/s

(network-authentication-required? response)

Checks whether the response has status code 511

Checks whether the response has status code 511
source (clj)source (cljs)raw docstring

network-connect-timeout?clj/s

(network-connect-timeout? response)

Checks whether the response has status code 599

Checks whether the response has status code 599
source (clj)source (cljs)raw docstring

network-read-timeout?clj/s

(network-read-timeout? response)

Checks whether the response has status code 598

Checks whether the response has status code 598
source (clj)source (cljs)raw docstring

no-content?clj/s

(no-content? response)

Checks whether the response has status code 204

Checks whether the response has status code 204
source (clj)source (cljs)raw docstring

non-authoritative-information?clj/s

(non-authoritative-information? response)

Checks whether the response has status code 203

Checks whether the response has status code 203
source (clj)source (cljs)raw docstring

not-acceptable?clj/s

(not-acceptable? response)

Checks whether the response has status code 406

Checks whether the response has status code 406
source (clj)source (cljs)raw docstring

not-extended?clj/s

(not-extended? response)

Checks whether the response has status code 510

Checks whether the response has status code 510
source (clj)source (cljs)raw docstring

not-found?clj/s

(not-found? response)

Checks whether the response has status code 404

Checks whether the response has status code 404
source (clj)source (cljs)raw docstring

not-implemented?clj/s

(not-implemented? response)

Checks whether the response has status code 501

Checks whether the response has status code 501
source (clj)source (cljs)raw docstring

not-modified?clj/s

(not-modified? response)

Checks whether the response has status code 304

Checks whether the response has status code 304
source (clj)source (cljs)raw docstring

ok?clj/s

(ok? response)

Checks whether the response has status code 200

Checks whether the response has status code 200
source (clj)source (cljs)raw docstring

partial-content?clj/s

(partial-content? response)

Checks whether the response has status code 206

Checks whether the response has status code 206
source (clj)source (cljs)raw docstring

payment-required?clj/s

(payment-required? response)

Checks whether the response has status code 402

Checks whether the response has status code 402
source (clj)source (cljs)raw docstring

permanent-redirect?clj/s

(permanent-redirect? response)

Checks whether the response has status code 308

Checks whether the response has status code 308
source (clj)source (cljs)raw docstring

precondition-failed?clj/s

(precondition-failed? response)

Checks whether the response has status code 412

Checks whether the response has status code 412
source (clj)source (cljs)raw docstring

precondition-required?clj/s

(precondition-required? response)

Checks whether the response has status code 428

Checks whether the response has status code 428
source (clj)source (cljs)raw docstring

processing?clj/s

(processing? response)

Checks whether the response has status code 102

Checks whether the response has status code 102
source (clj)source (cljs)raw docstring

proxy-authentication-required?clj/s

(proxy-authentication-required? response)

Checks whether the response has status code 407

Checks whether the response has status code 407
source (clj)source (cljs)raw docstring

redirection?clj/s

(redirection? response)

Check whether the response type is Redirection (status code is between 300 and 399).

Check whether the response type is Redirection (status code is between
300 and 399).
source (clj)source (cljs)raw docstring

request-entity-too-large?clj/s

(request-entity-too-large? response)

Checks whether the response has status code 413

Checks whether the response has status code 413
source (clj)source (cljs)raw docstring

request-header-fields-too-large?clj/s

(request-header-fields-too-large? response)

Checks whether the response has status code 431

Checks whether the response has status code 431
source (clj)source (cljs)raw docstring

request-timeout?clj/s

(request-timeout? response)

Checks whether the response has status code 408

Checks whether the response has status code 408
source (clj)source (cljs)raw docstring

request-uri-too-long?clj/s

(request-uri-too-long? response)

Checks whether the response has status code 414

Checks whether the response has status code 414
source (clj)source (cljs)raw docstring

requested-range-not-satisfiable?clj/s

(requested-range-not-satisfiable? response)

Checks whether the response has status code 416

Checks whether the response has status code 416
source (clj)source (cljs)raw docstring

reset-content?clj/s

(reset-content? response)

Checks whether the response has status code 205

Checks whether the response has status code 205
source (clj)source (cljs)raw docstring

retry-with?clj/s

(retry-with? response)

Checks whether the response has status code 449

Checks whether the response has status code 449
source (clj)source (cljs)raw docstring

see-other?clj/s

(see-other? response)

Checks whether the response has status code 303

Checks whether the response has status code 303
source (clj)source (cljs)raw docstring

server-error?clj/s

(server-error? response)

Check whether the response type is ServerError (status code is between 500 and 599).

Check whether the response type is ServerError (status code is between
500 and 599).
source (clj)source (cljs)raw docstring

service-unavailable?clj/s

(service-unavailable? response)

Checks whether the response has status code 503

Checks whether the response has status code 503
source (clj)source (cljs)raw docstring

success?clj/s

(success? response)

Check whether the response type is Success (status code is between 200 and 299).

Check whether the response type is Success (status code is between
200 and 299).
source (clj)source (cljs)raw docstring

switching-protocols?clj/s

(switching-protocols? response)

Checks whether the response has status code 101

Checks whether the response has status code 101
source (clj)source (cljs)raw docstring

temporary-redirect?clj/s

(temporary-redirect? response)

Checks whether the response has status code 307

Checks whether the response has status code 307
source (clj)source (cljs)raw docstring

too-many-requests?clj/s

(too-many-requests? response)

Checks whether the response has status code 429

Checks whether the response has status code 429
source (clj)source (cljs)raw docstring

unauthorized?clj/s

(unauthorized? response)

Checks whether the response has status code 401

Checks whether the response has status code 401
source (clj)source (cljs)raw docstring

(unavailable-for-legal-reasons? response)

Checks whether the response has status code 451

Checks whether the response has status code 451
source (clj)source (cljs)raw docstring

unordered-collection?clj/s

(unordered-collection? response)

Checks whether the response has status code 425

Checks whether the response has status code 425
source (clj)source (cljs)raw docstring

unprocessable-entity?clj/s

(unprocessable-entity? response)

Checks whether the response has status code 422

Checks whether the response has status code 422
source (clj)source (cljs)raw docstring

unsupported-media-type?clj/s

(unsupported-media-type? response)

Checks whether the response has status code 415

Checks whether the response has status code 415
source (clj)source (cljs)raw docstring

upgrade-required?clj/s

(upgrade-required? response)

Checks whether the response has status code 426

Checks whether the response has status code 426
source (clj)source (cljs)raw docstring

use-proxy?clj/s

(use-proxy? response)

Checks whether the response has status code 305

Checks whether the response has status code 305
source (clj)source (cljs)raw docstring

variant-also-negotiates?clj/s

(variant-also-negotiates? response)

Checks whether the response has status code 506

Checks whether the response has status code 506
source (clj)source (cljs)raw docstring

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

× close