Why do I get double new lines when geting data from server? Example: I have a following file: ------start------------- <html> <body> Ovo je testni primjerak </body> </html> ------end---------------
And the code is: conn = httplib.HTTPConnection("localhost:8000") conn.request("GET", "/folder/index.html") response = conn.getresponse() reply = response.read() print reply <html>\n\n<body>\n\nOvo je testni primjerak\n\n</body>\n\n</html>\n\n -- Ne dajte da nas lažljivac Bandić truje: http://cnn.blog.hr/arhiva-2007-06.html#1622776372 -- http://mail.python.org/mailman/listinfo/python-list