python - cherrypy.request.body.read() unable handling Windows line breaks? -


i have file following content:

foo,foo,foo,^mbar,bar,bar,  

(vim representation, ^m windows line break)

submitting file cherrypy , reading (cherrypy.request.body.read()) afterwards prints bar,bar,bar

shouldn't print whole file or doing wrong?


Comments

Popular posts from this blog

Listboxes in c# -

Excel Duty List -

Multilayer CSV to filtered excel -