http
is a collection of modules for building and parsing HTTP requests.
(load "git@github.com:carpentry-org/http@0.0.5")
(def txt "POST / HTTP/1.1
Host: https://carpentry.dev
User-Agent: carp
Accept: */*
hi!")
(defn main []
(let [x (Request.parse txt)]
(match x
(Result.Success r) (println* &r)