[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [gopher] Correct error handling



On Fri, 11 May 2012 08:03:59 -0400
Wolfgang Faust <wolfgangmcq@gmail.com> wrote:

> On Fri, May 11, 2012 at 7:59 AM, Damien Carol <damien.carol@gmail.com>wrote:
> 
> > My crawler use this algorithm for Menu :
> >
> > 1 ) just download the response as binary.
> >
> > 2) If the response is small size => parse as Menu with '3' node => ERROR
> >
> What if the binary document is small? Or if the server sends a long error
> message with, say, a stack trace?> 

What if the binary file is really just an example how a small menu with
item type 3 entries would look like. :p

Dennis

-- 
Dennis Schulmeister - Schifferstr. 1 - 76189 Karlsruhe - Germany
Tel: +49 721/5978883 - Fax: +49 721/5978882 - Mob: +49 152/01994400
Mail: dennis@windows3.de - Web/Gopher: there-is.no-ip.org

_______________________________________________
Gopher-Project mailing list
Gopher-Project@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project




Reply to: