1.2.0 permalink Arrow_down_16x16
  • (error? http-agnt)
Returns true if the HTTP response code was in the 400-499 range OR
the 500-599 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:381 top

(defn error?
  "Returns true if the HTTP response code was in the 400-499 range OR
  the 500-599 range."
  [http-agnt]
  (or (client-error? http-agnt)
      (server-error? http-agnt)))
Vars in clojure.contrib.http.agent/error?: defn or
Used in 0 other vars

Comments top

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