             [waiter.util.semaphore :as semaphore]
             [waiter.util.utils :as utils])
   (:import (java.io InputStream)
+           (org.eclipse.jetty.util Jetty)
            (org.eclipse.jetty.websocket.servlet ServletUpgradeResponse)))
 
 (defn- make-https-redirect

                (cond-> (-> (select-keys request request-keys)
                            (update :headers headers/truncate-header-values))
                  (seq trailers)
                  (assoc :trailers (headers/truncate-header-values trailers))))))
          utils/clj->json-response))
    (catch Throwable th
      (utils/exception->response th request))))

      (log/info "consuming request body before rendering response")
      (slurp body))
    (let [request-params (-> request ru/query-params-request :query-params)
          include-request-info (utils/param-contains? request-params "include" "request-info")
          include-server-info (utils/param-contains? request-params "include" "server-info")]
      (-> (cond-> {:status "ok"}
            include-request-info
            (assoc
