From 2ad8f735fe4669af396259eab71701821b9a2ff9 Mon Sep 17 00:00:00 2001 From: DevSnaith <65865554+DevSnaith@users.noreply.github.com> Date: Thu, 13 Apr 2023 07:06:39 +0300 Subject: [PATCH] Make the response better --- .../eu/lumiere/net/http/HttpResponse.class | Bin 3646 -> 3645 bytes src/org/eu/lumiere/net/http/HttpResponse.java | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/org/eu/lumiere/net/http/HttpResponse.class b/bin/org/eu/lumiere/net/http/HttpResponse.class index ae752a9674c843faa9b74f81fedd0468aabacdef..6e2a4920ab71c124d3fac3c8b899628c9eb4c8ae 100644 GIT binary patch delta 16 XcmdldvsY%rb{1w1)#A;&S(-TkH8BOi delta 17 YcmdlhvrlHjb`};+)nbLsyI7hz0Xe`0;Q#;t diff --git a/src/org/eu/lumiere/net/http/HttpResponse.java b/src/org/eu/lumiere/net/http/HttpResponse.java index c1ffd6f..fa75de5 100644 --- a/src/org/eu/lumiere/net/http/HttpResponse.java +++ b/src/org/eu/lumiere/net/http/HttpResponse.java @@ -29,7 +29,7 @@ public class HttpResponse { try { StringBuilder build = new StringBuilder(status_line+"\r\n"); for(String key : getKeySet()) { - build.append(String.format("%s : %s\r\n", key, getProperty(key))); + build.append(String.format("%s: %s\r\n", key, getProperty(key))); } client.getOutputStream().write(build.append("\r\n").append(body).toString().getBytes()); } catch (IOException e) {