Small tweak
This commit is contained in:
1 parent
9c76a468aa
commit
0afd5964d4
1 file changed
+1
-1
@@ -125,7 +125,7 @@ namespace Http
|
|||||||
startAndHeaders = bufferStr.Left(bodyDelimiterIndex)
|
startAndHeaders = bufferStr.Left(bodyDelimiterIndex)
|
||||||
lines = startAndHeaders.Split(`\r\n`)
|
lines = startAndHeaders.Split(`\r\n`)
|
||||||
if lines.count() < 2
|
if lines.count() < 2
|
||||||
LogError("invalid request: no operation line")
|
LogError("invalid request: expected at least start line and one header")
|
||||||
m.ready_for_response = true
|
m.ready_for_response = true
|
||||||
return false
|
return false
|
||||||
end if
|
end if
|
||||||
|
|||||||
Reference in new issue
Block a user