Core HTTP request/response implementation.
Core HTTP request/response implementation.
(parse-headers conn)
Returns a map of names to values for URLConnection conn
.
If a header name appears more than once (like set-cookie
) then the value
will be a vector containing the values in the order they appeared
in the headers.
Returns a map of names to values for URLConnection `conn`. If a header name appears more than once (like `set-cookie`) then the value will be a vector containing the values in the order they appeared in the headers.
(request {:keys [request-method scheme server-name server-port uri query-string
headers content-type character-encoding body socket-timeout
conn-timeout insecure? save-request? follow-redirects
chunk-size]
:as req})
Executes the HTTP request corresponding to the given Ring req
map and
returns the Ring response map corresponding to the resulting HTTP response.
Executes the HTTP request corresponding to the given Ring `req` map and returns the Ring response map corresponding to the resulting HTTP response.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close