HttpContext response return integer status values, not strings.

This commit is contained in:
Jonathan Bernard committed 2014-09-25 02:33:26 -05:00
1 parent 0494b53108
commit 8ab35b27bd
2 files changed
+4 -4

No files matched your search

@@ -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