         request-config (update config :headers
                                (fn prepare-inter-router-requests-headers [headers]
                                  (-> headers
-                                     (assoc "accept" "application/json")
-                                     (update "x-cid"
-                                             (fn attach-inter-router-cid [provided-cid]
-                                               (or provided-cid
-                                                   (let [current-cid (cid/get-correlation-id)
-                                                         cid-prefix (if (or (nil? current-cid) (= cid/default-correlation-id current-cid))
-                                                                      "waiter"
-                                                                      current-cid)]
-                                                     (str cid-prefix "." (utils/unique-identifier)))))))))]
+                                   (assoc "accept" "application/json")
+                                   (update "x-cid"
+                                           (fn attach-inter-router-cid [provided-cid]
+                                             (or provided-cid
+                                                 (let [current-cid (cid/get-correlation-id)
+                                                       cid-prefix (if (or (nil? current-cid) (= cid/default-correlation-id current-cid))
+                                                                    "waiter"
+                                                                    current-cid)]
+                                                   (str cid-prefix "." (utils/unique-identifier)))))))))]
     (when (and (empty? router-id->endpoint-url')
                (not-empty router-id->endpoint-url))
       (log/info "no acceptable routers found to make request!"))

  [{:keys [headers scheme ^ServletRequest servlet-request]}]
  (if servlet-request
    (or (some-> headers
                (get "x-forwarded-proto-version")
                str/upper-case)
        (.getProtocol servlet-request))
    (when scheme
      (str/upper-case

          :acceptable-router? #(= dest-router-id %)
          :body (utils/clj->json {:instance instance :period-in-ms blacklist-period-ms :reason reason})
          :method :post)
      (get dest-router-id))
    (catch Exception e
      (log/error e "error in making blacklist request"
                 {:instance instance :period-in-ms blacklist-period-ms :reason reason}))))
