From 6de3dbf5f026beb29d29856e6a5a04b222b0350f Mon Sep 17 00:00:00 2001 From: shrutiverma97 Date: Wed, 12 Jan 2022 13:56:15 +0530 Subject: [PATCH] build fix --- zio-http/src/main/scala/zhttp/http/Middleware.scala | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/zio-http/src/main/scala/zhttp/http/Middleware.scala b/zio-http/src/main/scala/zhttp/http/Middleware.scala index 1d215f0ead..8260fc5747 100644 --- a/zio-http/src/main/scala/zhttp/http/Middleware.scala +++ b/zio-http/src/main/scala/zhttp/http/Middleware.scala @@ -255,16 +255,6 @@ object Middleware { (HeaderNames.setCookie, Cookie.decodeResponseCookie(h._2.toString).get.sign(secret).encode) } -// h => { -// Headers( -// h.toList.collect { -// case h if contentEqualsIgnoreCase(h._1, HeaderNames.setCookie) => { -// (HeaderNames.setCookie, Cookie.decodeResponseCookie(h._2.toString).get.sign(secret).encode) -// } -// }, -// ) -// }) - /** * Creates a new constants middleware that always executes the app provided, independent of where the middleware is * applied