The source of the problem is noy in CherryPy but here: # /usr/lib/python2.5/SimpleHTTPServer.py line: 161 shutil.copyfileobj(source, outputfile)
If you develop on Windows, either use the following script http://www.java2s.com/Code/Python/Utility/ChangeCRLFlineendingstoLFWindowstoUnix.htm It works with a single file but you can tweak it to work recursively on a given directory using os.path.walk and alike. Or configure your editor to use Unix-Style new lines. If you don't use VisualStudio or Notepad than the option should be available. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
