sethtrain / raven-clj

A Clojure interface to Sentry
84 stars 29 forks source link

Consider alternate HTTP client libs #11

Closed martinklepsch closed 6 years ago

martinklepsch commented 8 years ago

Usage of clj-http is limited to this one call. Probably there are lighter libraries to achieve the same, clj-http-lite comes to mind.

    (http/post url
               {:insecure? true
                :throw-exceptions false
                :headers {"X-Sentry-Auth" header
                          "User-Agent" sentry-client}
                :body (json/generate-string packet-info)})))

https://github.com/sethtrain/raven-clj/blob/master/src/raven_clj/core.clj#L27-L32

via #8

martinklepsch commented 6 years ago

Closed via https://github.com/sethtrain/raven-clj/commit/0a9ce65f88424b8d0a260ce3e540ec1970720d5e