File:  [parser3project] / parser3 / tests / results / 343.processed
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Sun May 26 18:20:40 2024 UTC (2 years, 3 months ago) by moko
Branches: MAIN
CVS tags: HEAD
Type -> Exception type for readability

Content-Type: text/html
Content-Length: 1386

f1 : {
"class":"file",
"name":"noname.dat",
"size":8,
"mode":"text",
"content-type":"text\/plain",
"text":"тест"
}
f2 : {
"class":"file",
"name":"noname.dat",
"size":4,
"mode":"text",
"content-type":"text\/plain; charset=Windows-1251",
"text":""
}
f2 binary : {
"class":"file",
"name":"noname.dat",
"size":4,
"mode":"binary",
"content-type":"text\/plain; charset=Windows-1251",
"text":""
}
f text from text, no transcode : {
"class":"file",
"name":"noname.dat",
"size":4,
"mode":"text",
"content-type":"text\/plain; charset=Windows-1251",
"text":""
}
binary from binary, no transcode : {
"class":"file",
"name":"noname.dat",
"size":4,
"mode":"binary",
"content-type":"text\/plain; charset=Windows-1251",
"text":""
}
f text from text with transcode : {
"class":"file",
"name":"noname.dat",
"size":8,
"mode":"text",
"content-type":"text\/plain; charset=Windows-1251",
"text":"тест"
}
f text from binary, automatic transcode : {
"class":"file",
"name":"noname.dat",
"size":8,
"mode":"text",
"content-type":"text\/plain; charset=Windows-1251",
"text":"тест"
}
Exception type: parser.runtime,
Source: create,
Comment: called with invalid option
Exception type: parser.runtime,
Source: create,
Comment: charset options can not be used with binary content
Exception type: parser.runtime,
Source: create,
Comment: charset options can not be used with binary content

E-mail: