 ;; (defn hotels [location]
 ;;   (let [sid (extract-sid (get-session))
 ;; 	searchid (extract-searchid (search-hotels sid location))]
-;;     (parse-xml-str (get-hotels sid searchid))))+;;     (parse-xml-str (get-hotels sid searchid))))


;;http://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.0.x/httpclient/src/examples/org/apache/http/examples/client/ClientAuthentication.java
(defn request
  ([u] 
     (ha/string
      (ha/http-agent
       (url u))))

(ns clj-http.http
  (:import (java.net URL URLEncoder))
  (:import org.apache.http.HttpEntity)
  (:import org.apache.http.HttpResponse)
  (:import org.apache.http.HttpRequestInterceptor)
