Short utility functions. A lot of these only exist because the cross platform implementation is annoying.
Short utility functions. A lot of these only exist because the cross platform implementation is annoying.
(get-content-type response)
(success? status)
Indicates whether an HTTP status code is considered successful.
Indicates whether an HTTP status code is considered successful.
A set of successful response types derived from goog.net.HttpStatus.isSuccess
.
A set of successful response types derived from `goog.net.HttpStatus.isSuccess`.
(to-utf8-writer to-str)
Takes a function that converts to a string and transforms it into a function that converts to an object that will write UTF-8 to the wire. Note that this is the identity function for JavaScript because the underlying implementations take a string.
Takes a function that converts to a string and transforms it into a function that converts to an object that will write UTF-8 to the wire. Note that this is the identity function for JavaScript because the underlying implementations take a string.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close