From 53a9feb7db3773c7fe4624777b99eb986c5b55d6 Mon Sep 17 00:00:00 2001 From: esoe Date: Wed, 9 Nov 2022 09:02:00 +0300 Subject: [PATCH] qq --- .../sourceListener/SourceListener.java | 2 ++ .../sourceListener/SourceListener.class | Bin 2188 -> 2188 bytes 2 files changed, 2 insertions(+) diff --git a/src/main/java/ru/molokoin/sourceListener/SourceListener.java b/src/main/java/ru/molokoin/sourceListener/SourceListener.java index d729cde..52dddca 100644 --- a/src/main/java/ru/molokoin/sourceListener/SourceListener.java +++ b/src/main/java/ru/molokoin/sourceListener/SourceListener.java @@ -11,12 +11,14 @@ public class SourceListener { HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("http://molokoin.ru:3000/esoe/molokoin-client")) + //.uri(URI.create("http://molokoin.ru:3000/esoe/molokoin-client/archive/master.zip")) .GET() // GET is default .build(); try { HttpResponse response = client.send(request, HttpResponse.BodyHandlers.ofString()); + System.out.println(response.statusCode()); System.out.println(response.headers()); System.out.println(response.body()); diff --git a/target/classes/ru/molokoin/sourceListener/SourceListener.class b/target/classes/ru/molokoin/sourceListener/SourceListener.class index fe756fdc7e14137d76d170054d5f42b474fdceeb..d439e660c98d8d3e9ac6b4f4df9efd77fdd83f43 100644 GIT binary patch delta 57 zcmeAX>=E2>mR*;hL5x9wL7IVwL54w?L5@L$K@mu+0!0lO#2IWEBp7@cBpCu2q!^+Y KWGDY(p9BErc?cl@ delta 57 zcmeAX>=E2>mR*;RL5zW)L7IVwL54wyL5@L~K@mu+GKer3GKezR0%d&|#2Eq@Bp9L? Kq$mGkp9BEq1PBlS