pike.git/
src/
modules/
_Roxen/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2018-04-01
2018-04-01 00:24:48 by Martin Nilsson <nilsson@fastmail.com>
09738bd1bfbef8727a8f6524bfb00518dd6576f7 (
6
lines) (+
6
/-
0
)
[
Show
|
Annotate
]
Branch:
master
Fix the throw_error flag which failed on correct input.
135:
]], [[ ({ "", "GET / HTTP/1.0", ([ "blaha":"foo", "x":"1"]) }) ]]) test_any_equal([[
+
object hp = _Roxen.HeaderParser(1);
+
return hp->feed( "GET / HTTP/1.0\r\nA: x\r\nblaha: foo\r\n\r\n" );
+
]], [[ ({ "", "GET / HTTP/1.0", (["blaha":"foo","a":"x"]) }) ]])
+
+
test_any_equal([[
object hp = _Roxen.HeaderParser(); return hp->feed( "GET / HTTP/1.0\r\nA\r\nblaha: foo\r\n\r\n" ); ]], [[ ({ "", "GET / HTTP/1.0", (["blaha":"foo"]) }) ]])