/
issue2733.test
86 lines (74 loc) · 1.38 KB
/
issue2733.test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
HTTP/1.1 200 OK
connection: keep-alive
content-type: application/xml
date: Sat, 23 Jan 2021 20:36:14 GMT
keep-alive: timeout=60
transfer-encoding: chunked
<xml>
<one>Data</one>
<two>More Data</two>
</xml>
----------------------------------------------------
[
["response-status", [
["http-version", "HTTP/1.1"],
["status-code", "200"],
["reason-phrase", "OK"]
]],
["header-name", "connection:"],
" keep-alive\r\n",
["header-name", "content-type:"],
" application/xml\r\n",
["header-name", "date:"],
" Sat, 23 Jan 2021 20:36:14 GMT\r\n",
["header-name", "keep-alive:"],
" timeout=60\r\n",
["header-name", "transfer-encoding:"],
" chunked\r\n",
["application-xml", [
["tag", [
["tag", [
["punctuation", "<"],
"xml"
]],
["punctuation", ">"]
]],
["tag", [
["tag", [
["punctuation", "<"],
"one"
]],
["punctuation", ">"]
]],
"Data",
["tag", [
["tag", [
["punctuation", "</"],
"one"
]],
["punctuation", ">"]
]],
["tag", [
["tag", [
["punctuation", "<"],
"two"
]],
["punctuation", ">"]
]],
"More Data",
["tag", [
["tag", [
["punctuation", "</"],
"two"
]],
["punctuation", ">"]
]],
["tag", [
["tag", [
["punctuation", "</"],
"xml"
]],
["punctuation", ">"]
]]
]]
]