Skip to content

Commit 286a065

Browse files
Martin VigliaroloMartin Vigliarolo
authored andcommitted
Removed commented old code
1 parent ad0f435 commit 286a065

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

java/src/main/java/com/genexus/internet/HttpClientJavaLib.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,6 @@ private CookieStore setAllStoredCookies() {
245245
String selfWebCookie = ((com.genexus.webpanels.HttpContextWeb) com.genexus.ModelContext.getModelContext().getHttpContext()).getCookie("Set-Cookie");
246246
if (!selfWebCookie.isEmpty())
247247
this.addHeader("Cookie", selfWebCookie.replace("+",";"));
248-
// webcookies = webcontext.getCookies();
249-
// ICookie webcookie = webcookies == null ? null : Arrays.stream(webcookies).filter(cookie -> "Set-Cookie".equalsIgnoreCase(cookie.getName())).findAny().orElse(null);
250-
// if (webcookie != null)
251-
// this.addHeader("Cookie", com.genexus.webpanels.WebUtils.decodeCookie(webcookie.getValue()));
252248

253249
} else { // Caso se ejecucion de una misma instancia HttpClientJavaLib mediante command line
254250
if (!getIncludeCookies())

0 commit comments

Comments
 (0)