Permalink
Browse files

Fixed accidental logging left in after testing

  • Loading branch information...
darkfrog26 committed Feb 2, 2019
1 parent 43916a7 commit 3a94b079e63084c402f60044143dba3475f3df6e
Showing with 1 addition and 2 deletions.
  1. +1 −1 build.sbt
  2. +0 −1 serverUndertow/src/main/scala/io/youi/server/UndertowServerImplementation.scala
@@ -3,7 +3,7 @@ import sbtcrossproject.CrossPlugin.autoImport.crossProject

name := "youi"
organization in ThisBuild := "io.youi"
version in ThisBuild := "0.10.2-SNAPSHOT"
version in ThisBuild := "0.10.3-SNAPSHOT"
scalaVersion in ThisBuild := "2.12.8"
crossScalaVersions in ThisBuild := List("2.12.8", "2.11.12")
resolvers in ThisBuild += Resolver.sonatypeRepo("releases")
@@ -275,7 +275,6 @@ object UndertowServerImplementation extends ServerImplementationCreator {

// Set the Content-Length from Content if not already set on the response
if (Headers.`Content-Length`.value(response.headers).isEmpty && content.length != -1L) {
scribe.info(s"Setting content-length: ${content.length}")
response = response.withHeader(Headers.`Content-Length`(content.length))
}

0 comments on commit 3a94b07

Please sign in to comment.