[plt-scheme] nntp-unit.ss suggestion: Code 201 is OK too

From: MJ Ray (markj at cloaked.freeserve.co.uk)
Date: Fri Jul 26 05:36:48 EDT 2002

In collects/net/nntp-unit.ss, a news server sending code 201 upon connection
causes an exception.  This code only means "OK, but you may not post" and it
is still useful to continue in some situations.  If the following change is
made to nntp-unit.ss, it works.  Can it be committed, please?


      (define connect-to-server
[...]
                (case code
                  ((200)
                   communicator)
                  ((201)
                   communicator)

Thanks,

MJR




Posted on the users mailing list.