Re: httplib module

2007-07-08 Thread Steve Holden
Boris Ozegovic wrote: > Steve Holden wrote: > Why do I get double new lines when geting data from server? Example: >> How? It's customary to include details when you've solved your own >> problem in case someone else gets the same issue. > > Ok. In do_GET I had this two lines: > > for li

Re: httplib module

2007-07-08 Thread Boris Ozegovic
Steve Holden wrote: >>> Why do I get double new lines when geting data from server? Example: > How? It's customary to include details when you've solved your own > problem in case someone else gets the same issue. Ok. In do_GET I had this two lines: for line in file: print line As you c

Re: httplib module

2007-07-07 Thread Steve Holden
Boris Ozegovic wrote: > Boris Ozegovic wrote: > >> Why do I get double new lines when geting data from server? Example: > > Fixed. > How? It's customary to include details when you've solved your own problem in case someone else gets the same issue. regards Steve -- Steve Holden+1

Re: httplib module

2007-07-07 Thread Boris Ozegovic
Boris Ozegovic wrote: > Why do I get double new lines when geting data from server? Example: Fixed. -- 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

httplib module

2007-07-07 Thread Boris Ozegovic
Why do I get double new lines when geting data from server? Example: I have a following file: --start- Ovo je testni primjerak --end--- And the code is: conn = httplib.HTTPConnection("localhost:8000") conn.request("GET", "/folder/index.html") response = conn.g