• (success? http-agnt)
Returns true if the HTTP response code was in the 200-299 range.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/http/agent.clj:357 top

(defn success?
  "Returns true if the HTTP response code was in the 200-299 range."
  [http-agnt]
  (status-in-range? 2 http-agnt))
Vars in clojure.contrib.http.agent/success?: defn
Used in 0 other vars

Comments top

No comments for success?. Log in to add a comment.