mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-29 04:27:53 +01:00
Merge branch '3.6.0' of https://github.com/Rsl1122/Plan-PlayerAnalytics
This commit is contained in:
commit
9879faa8a8
@ -94,7 +94,7 @@ public class WebServer {
|
|||||||
Response response = getResponse(target, user);
|
Response response = getResponse(target, user);
|
||||||
|
|
||||||
String content = response.getContent();
|
String content = response.getContent();
|
||||||
exchange.sendResponseHeaders(200, 0);
|
exchange.sendResponseHeaders(response.getCode(), 0);
|
||||||
|
|
||||||
try (BufferedOutputStream out = new BufferedOutputStream(exchange.getResponseBody());
|
try (BufferedOutputStream out = new BufferedOutputStream(exchange.getResponseBody());
|
||||||
ByteArrayInputStream bis = new ByteArrayInputStream(content.getBytes())) {
|
ByteArrayInputStream bis = new ByteArrayInputStream(content.getBytes())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user