     (return-file "error.html" "text/html"))
 
 (defn get-hostname
+    "Returns hostname of the server."
     []
     (.. java.net.InetAddress getLocalHost getHostName))
 

                        api-part)))))))

(defn api-call-handler
    [request uri method]
    (if (= uri "/api")
        (rest-api/info-handler request (get-hostname))

;      Pavel Tisnovsky
;

(ns emender-jenkins.server
    "Server module that accepts all requests from users and generates proper responses.")

(require '[clojure.pprint           :as pprint])
(require '[ring.util.response       :as http-response])
