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

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -