From 0f99b1ab901ee8ebd770a650abd46fd7a9f83af7 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 25 Jun 2020 09:41:58 +0200 Subject: [PATCH] :sparkles: Minor improvement on http client. --- backend/src/uxbox/util/http.clj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/src/uxbox/util/http.clj b/backend/src/uxbox/util/http.clj index 09f07adb0..735055354 100644 --- a/backend/src/uxbox/util/http.clj +++ b/backend/src/uxbox/util/http.clj @@ -20,5 +20,7 @@ (http/get url nil opts'))) (defn send! - [req] - (http/send req {:client @default-client :as :string})) + ([req] + (http/send req {:client @default-client :as :string})) + ([req opts] + (http/send req (merge {:client @default-client :as :string} opts))))