Annotation of parser3/tests/results/379.processed, revision 1.6
1.1 moko 1: Content-Type: text/html
1.6 ! moko 2: Content-Length: 4135
1.1 moko 3:
4: 1. slow test result:
5: {
6: "class":"file",
7: "name":"nph-379.pl",
8: "size":20,
9: "mode":"text",
10: "content-type":"text\/plain",
11: "tables":{
12: "CONTENT-TYPE":[
13: {"value":"text\/plain"}
14: ],
15: "SOME HEADER":[
16: {"value":"value"}
17: ]
18: },
19: "CONTENT-TYPE":"text\/plain",
20: "SOME HEADER":"value",
21: "status":200,
22: "text":"body\nbody continues\n"
23: }
24: 2. valid-content-length test result:
25: {
26: "class":"file",
27: "name":"nph-379.pl",
28: "size":105,
29: "mode":"text",
30: "content-type":"text\/plain",
31: "tables":{
32: "CONTENT-TYPE":[
33: {"value":"text\/plain"}
34: ],
35: "CONTENT-LENGTH":[
36: {"value":"5"}
37: ]
38: },
39: "CONTENT-TYPE":"text\/plain",
40: "CONTENT-LENGTH":"5",
41: "status":200,
42: "text":"body\n...................................................................................................."
43: }
44: 3. invalid-content-length test result:
1.5 moko 45: Exception type: parser.runtime,
1.1 moko 46: Source: http://www.parser.ru/_/tests/nph-379.pl?invalid-content-length,
47: Comment: content size of 10000000000 bytes exceeds the limit (536870912 bytes)
48: 4. empty-body test result:
49: {
50: "class":"file",
51: "name":"nph-379.pl",
52: "size":0,
53: "mode":"text",
54: "content-type":"text\/plain",
55: "tables":{
56: "CONTENT-TYPE":[
57: {"value":"text\/plain"}
58: ]
59: },
60: "CONTENT-TYPE":"text\/plain",
61: "status":200,
62: "text":""
63: }
64: 4-win. empty-body-win test result:
65: {
66: "class":"file",
67: "name":"nph-379.pl",
68: "size":0,
69: "mode":"text",
70: "content-type":"text\/plain",
71: "tables":{
72: "CONTENT-TYPE":[
73: {"value":"text\/plain"}
74: ]
75: },
76: "CONTENT-TYPE":"text\/plain",
77: "status":200,
78: "text":""
79: }
80: 5. null-body test result:
81: {
82: "class":"file",
83: "name":"nph-379.pl",
84: "size":0,
85: "mode":"text",
86: "content-type":"text\/plain",
87: "tables":{
88: "CONTENT-TYPE":[
89: {"value":"text\/plain"}
90: ]
91: },
92: "CONTENT-TYPE":"text\/plain",
93: "status":200,
94: "text":""
95: }
96: 6. empty-headers test result:
97: {
98: "class":"file",
99: "name":"nph-379.pl",
100: "size":5,
101: "mode":"text",
102: "content-type":"application\/octet-stream",
103: "tables":{},
104: "status":200,
105: "text":"body\n"
106: }
107: 6-win. empty-headers-win test result:
108: {
109: "class":"file",
110: "name":"nph-379.pl",
111: "size":5,
112: "mode":"text",
113: "content-type":"application\/octet-stream",
114: "tables":{},
115: "status":200,
116: "text":"body\n"
117: }
118: 6-win. empty-headers-win test result:
119: {
120: "class":"file",
121: "name":"nph-379.pl",
122: "size":6,
123: "mode":"binary",
124: "content-type":"application\/octet-stream",
125: "tables":{},
126: "status":200,
127: "text":"body\r\n"
128: }
129: 7. null-headers test result:
130: {
131: "class":"file",
132: "name":"nph-379.pl",
133: "size":0,
134: "mode":"text",
135: "content-type":"application\/octet-stream",
136: "tables":{},
137: "status":200,
138: "text":""
139: }
1.2 moko 140: 7.1 bad-headers test result:
1.5 moko 141: Exception type: http.response,
1.2 moko 142: Source: http://www.parser.ru/_/tests/nph-379.pl?bad-headers,
1.4 moko 143: Comment: bad response from host - bad header ":value"
1.3 moko 144: 7.2 bad-cookies test result:
145: {
146: "class":"file",
147: "name":"nph-379.pl",
148: "size":5,
149: "mode":"text",
150: "content-type":"text\/plain",
151: "tables":{
152: "CONTENT-TYPE":[
153: {"value":"text\/plain"}
154: ],
155: "SET-COOKIE":[
156: {"value":"no-value"}
157: ]
158: },
159: "CONTENT-TYPE":"text\/plain",
160: "SET-COOKIE":"no-value",
161: "cookies":[
162: {"name":"no-value","value":"","expires":"","max-age":"","domain":"","path":"","httponly":"","secure":""}
163: ],
164: "status":200,
165: "text":"body\n"
166: }
1.1 moko 167: 8. invalid-status test result:
1.5 moko 168: Exception type: number.format,
1.2 moko 169: Source: http://www.parser.ru/_/tests/nph-379.pl?invalid-status,
1.6 ! moko 170: Comment: 'bad' is an invalid number (int) for HTTP status
1.1 moko 171: 9. no-status-1 test result:
1.5 moko 172: Exception type: http.status,
1.1 moko 173: Source: HTTP/1.0 OK,
174: Comment: invalid HTTP response status
175: 10. no-status-2 test result:
1.5 moko 176: Exception type: http.status,
1.1 moko 177: Source: HTTP/1.0 OK,
178: Comment: invalid HTTP response status
179: 11. no-status-3 test result:
1.5 moko 180: Exception type: http.status,
1.1 moko 181: Source: HTTP/1.0,
182: Comment: invalid HTTP response status
183: 12. strange-status test result:
1.5 moko 184: Exception type: number.format,
1.2 moko 185: Source: http://www.parser.ru/_/tests/nph-379.pl?strange-status,
1.6 ! moko 186: Comment: '200OK?' is an invalid number (int) for HTTP status
1.1 moko 187: 13. strange-content-length-1 test result:
1.5 moko 188: Exception type: number.format,
1.2 moko 189: Source: http://www.parser.ru/_/tests/nph-379.pl?strange-content-length-1,
1.6 ! moko 190: Comment: '-1' is out if range (negative) for content-length
1.1 moko 191: 14. strange-content-length-2 test result:
1.5 moko 192: Exception type: number.format,
1.2 moko 193: Source: http://www.parser.ru/_/tests/nph-379.pl?strange-content-length-2,
1.6 ! moko 194: Comment: '200OK?' is an invalid number (int) for content-length
E-mail: