diff --git a/project.properties b/project.properties index 3d65818..c9271c1 100644 --- a/project.properties +++ b/project.properties @@ -1,6 +1,6 @@ -#Sun, 21 Sep 2014 03:05:17 -0500 +#Thu, 25 Sep 2014 02:29:18 -0500 name=jdb-util -version=2.3 +version=2.4 lib.local=true -build.number=9 +build.number=1 diff --git a/src/main/com/jdbernard/net/HttpContext.groovy b/src/main/com/jdbernard/net/HttpContext.groovy index 34e31ba..3ebb8a7 100644 --- a/src/main/com/jdbernard/net/HttpContext.groovy +++ b/src/main/com/jdbernard/net/HttpContext.groovy @@ -157,7 +157,7 @@ public class HttpContext { writer.flush() def line = reader.readLine().trim() - result.status = line.split(/\s/)[1] + result.status = line.split(/\s/)[1] as int line = reader.readLine().trim() boolean isChunked = false