Debian Codegraph @

tests/languages/markup+http/issue2733.test

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