function | previously cljs.repl.browser/read-get | Edit |
(read-get line rdr)
(defn read-get [line rdr]
(let [[_ file _] (str/split line #" ")
{:keys [path ref query-str]} (parse-file-parts file)
headers (parse-headers (read-headers rdr))]
{:method :get
:path path
:ref ref
:query-str query-str
:headers headers}))