From: "Gopher-Project" <gopher-project-bounces+rachael=telefisk.org@lists.alioth.debian.org> Date: Tue Dec 30 10:39:07 2014 Subject: Re: [gopher] Spidering the gopherspace --===============2445313292635403051== Content-Type: multipart/alternative; boundary=001a113ebfd852c8b8050b6bc0a7 --001a113ebfd852c8b8050b6bc0a7 Content-Type: text/plain; charset=UTF-8 On Tue, Dec 30, 2014 at 7:25 PM, Mateusz Viste <mateusz@viste.fr> wrote: > Your server, on the other hand, seems to fail quite ungracefully on such > condition, apparently trying to trim something that isn't there (hence > ending up one letter short). > *sigh* the good 'ol datys when we code things to exact specifications and can't cope with \r\n vs \n :) e.g: (Python) >>> s = "foo\r\n" >>> s.strip() "foo" :) I'm no C programmer; but many C programmers are bad programers :) cheers James James Mills / prologic E: prologic@shortcircuit.net.au W: prologic.shortcircuit.net.au --001a113ebfd852c8b8050b6bc0a7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">= On Tue, Dec 30, 2014 at 7:25 PM, Mateusz Viste <span dir=3D"ltr"><<a hre= f=3D"mailto:mateusz@viste.fr" target=3D"_blank">mateusz@viste.fr</a>></s= pan> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex= ;border-left:1px #ccc solid;padding-left:1ex"><div id=3D":1ur" class=3D"a3s= " style=3D"overflow:hidden">Your server, on the other hand, seems to fail q= uite ungracefully on such condition, apparently trying to trim something th= at isn't there (hence ending up one letter short).<br></div></blockquot= e></div><br>*sigh* the good 'ol datys when we code things to exact spec= ifications</div><div class=3D"gmail_extra">and can't cope with \r\n vs = \n :)</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">= e.g: (Python)</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail= _extra">>>> s =3D "foo\r\n"</div><div class=3D"gmail_ext= ra">>>> s.strip()</div><div class=3D"gmail_extra">"foo"<= /div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">:)</di= v><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">I'm n= o C programmer; but many C programmers are bad programers :)</div><div clas= s=3D"gmail_extra"><br></div><div class=3D"gmail_extra">cheers</div><div cla= ss=3D"gmail_extra">James<br><br clear=3D"all"><div><div class=3D"gmail_sign= ature"><span style=3D"border-collapse:collapse;color:rgb(136,136,136);font-= size:13px"><br><font face=3D"arial, sans-serif">James Mills / prologic</fon= t><br><br><font face=3D"arial, sans-serif"></font><font face=3D"'courie= r new', monospace">E:=C2=A0<a href=3D"mailto:prologic@shortcircuit.net.= au" style=3D"color:rgb(0,0,204)" target=3D"_blank">prologic@shortcircuit.ne= t.au</a></font></span><div><span style=3D"font-family:'courier new'= ,monospace;color:rgb(136,136,136);font-size:13px">W:=C2=A0</span><a href=3D= "http://prologic.shortcircuit.net.au" style=3D"font-family:'courier new= ',monospace;font-size:13px;color:rgb(0,0,204)" target=3D"_blank">prolog= ic.shortcircuit.net.au</a><br></div></div></div> </div></div> --001a113ebfd852c8b8050b6bc0a7-- --===============2445313292635403051== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gopher-Project mailing list Gopher-Project@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project --===============2445313292635403051==-- Thread start (DIR) [gopher] Spidering the gopherspace (DIR) Followup: Re: [gopher] Spidering the gopherspace (DIR) Followup: Re: [gopher] Spidering the gopherspace (DIR) Followup: Re: [gopher] Spidering the gopherspace (DIR) Followup: Re: [gopher] Spidering the gopherspace (DIR) Followup: Re: [gopher] Spidering the gopherspace