pike.git/
src/
modules/
_Roxen/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2016-07-27
2016-07-27 13:20:02 by Martin Nilsson <nilsson@fastmail.com>
1496727ac2afc753985a96d5c7fb1ae635b29796 (
4
lines) (+
4
/-
0
)
[
Show
|
Annotate
]
Branch:
8.1
Test line folding.
116:
test_hp( "GET / HTTP/1.0\r\nblaha: foo\n\rBlaha: bar\r\n\r\n", ({ "", "GET / HTTP/1.0", ([ "blaha":({ "foo", "bar" }) ]) }) )
+
test_hp( "GET / HTTP/1.0\r\nblaha: foo\r\n bar\r\nx:1\r\n\t2\r\n\r\n",
+
({ "", "GET / HTTP/1.0", ([ "blaha":"foo bar", "x":"1\t2" ]) }) )
+
test_any_equal([[ object hp = _Roxen.HeaderParser(0, 1); return hp->feed( "GET / HTTP/1.0\r\nBlaha: foo\r\nblaha: foo\r\n\r\n" );