1.2.0 permalink Arrow_down_16x16
  • (server-error? http-agnt)
Returns true if the HTTP response code was in 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:376 top

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

Comments top

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