diff --git a/game/src/main/kotlin/org/openrs2/game/net/http/Http.kt b/game/src/main/kotlin/org/openrs2/game/net/http/Http.kt index fea1bab7..b4fb6649 100644 --- a/game/src/main/kotlin/org/openrs2/game/net/http/Http.kt +++ b/game/src/main/kotlin/org/openrs2/game/net/http/Http.kt @@ -46,11 +46,13 @@ public object Http { val keepAlive = isKeepAlive(request, version) val response = DefaultHttpResponse(version, status) - response.headers().add(HttpHeaderNames.CONNECTION, if (keepAlive) { - HttpHeaderValues.KEEP_ALIVE - } else { - HttpHeaderValues.CLOSE - }) + response.headers().add( + HttpHeaderNames.CONNECTION, if (keepAlive) { + HttpHeaderValues.KEEP_ALIVE + } else { + HttpHeaderValues.CLOSE + } + ) response.headers().add(HttpHeaderNames.SERVER, BANNER) response.headers().add(HttpHeaderNames.CONTENT_TYPE, contentType) response.headers().add(HttpHeaderNames.CONTENT_LENGTH, contentLength)