cljs.repl.server/read-headers

functionpreviously cljs.repl.browser/read-headersEdit
(read-headers rdr)

Source code @ clojurescript:src/main/clojure/cljs/repl/server.clj
(defn read-headers [rdr]
  (loop [next-line (.readLine rdr) header-lines []]
    (if (= "" next-line)
      header-lines ;; we're done reading headers
      (recur
        (.readLine rdr)
        (conj header-lines next-line)))))