diff --git a/src/buttondevteam/website/io/Response.java b/src/buttondevteam/website/io/Response.java index a7155aa..9cd9db0 100644 --- a/src/buttondevteam/website/io/Response.java +++ b/src/buttondevteam/website/io/Response.java @@ -12,4 +12,9 @@ public class Response { this.content = content; this.exchange = exchange; } + public Response(int code, String[] content, HttpExchange exchange) { + this.code = code; + this.content = String.join("", content); + this.exchange = exchange; + } }