Fork me on GitHub
#aleph
<
2016-02-24
>
artemyarulin14:02:29

hi there, does anyone know how to get full url from http request representation? like {:url “” :query-params {:a 2}} -> “. I need to sign the request and need exactly the request that aleph then’ll send

artemyarulin14:02:37

I’ve found (.getUri (aleph.http.core/ring-request->netty-request req)), but it works with ring like requests and I didn’t find any function that can convert my http request to ring one

artemyarulin15:02:57

ended up with simple {:url (str “&” (aleph.http.client-middleware/generate-query-string {:a 2}))}