HttpContext response return integer status values, not strings.

This commit is contained in:
Jonathan Bernard 2014-09-25 02:33:26 -05:00
parent 0494b53108
commit 8ab35b27bd
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#Sun, 21 Sep 2014 03:05:17 -0500 #Thu, 25 Sep 2014 02:29:18 -0500
name=jdb-util name=jdb-util
version=2.3 version=2.4
lib.local=true lib.local=true
build.number=9 build.number=1

View File

@ -157,7 +157,7 @@ public class HttpContext {
writer.flush() writer.flush()
def line = reader.readLine().trim() def line = reader.readLine().trim()
result.status = line.split(/\s/)[1] result.status = line.split(/\s/)[1] as int
line = reader.readLine().trim() line = reader.readLine().trim()
boolean isChunked = false boolean isChunked = false