HttpContext response return integer status values, not strings.
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user