Content-Type: text/html
Content-Length: 1384
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 cannot be used with binary content
Exception type: parser.runtime,
Source: create,
Comment: charset options cannot be used with binary content
E-mail: