Fork me on GitHub
#ring
<
2017-03-15
>
iGEL16:03:12

Hello. Is there a way to get all the usual CGI environment variables like REMOTE_ADDR, SERVER_NAME or HTTP_REFERER as a map? I would like to post it to honeybadger when exceptions happen and the API expects it like that

seancorfield17:03:21

:remote-addr is available (and, if you use the wrap-proxy(?) middleware it handles load balancer forwarding as well). Not sure about the others.

ikitommi18:03:44

Hi. Finalizing a new fast content negotiation & formatting lib for Clojure/Ring/Pedestal, based on ring-middleware-format. Would appreciate feedback on the public apis and naming (or anything), still easy to change things as it’s not “out". Here it is: https://github.com/metosin/muuntaja