[cse491] Lab 7 changes
Joe Amenta
amentajo at msu.edu
Fri Oct 16 14:31:25 PDT 2009
A little bit of an ambiguity... in the homework notes, you write:
Server.handle_forever() must bind to the given port and serve HTTP
requests on it forever, calling the WSGI app object for each request.
But in the lab notes, you write:
write a method 'Server.serve_forever()' that does your main while loop.
change your __main__ block to run Server.serve_forever() on the
appropriate port.
Which is it?
*ducks the shoe Titus is about to throw*
--Joe
On Fri, Oct 16, 2009 at 11:23 AM, C. Titus Brown <ctb at msu.edu> wrote:
>
> thanks again!
>
> On Thu, Oct 15, 2009 at 05:40:10PM -0400, Joe Amenta wrote:
> > Also, don't forget to change environ['wsgi_input'] to environ['wsgi.input'].
> >
> > --Joe
> >
> > On Thu, Oct 15, 2009 at 05:16:54PM -0400, Joe Amenta wrote:
> > > Don't forget to:
> > > --def WSGIApp(object) -> class WSGIApp(object)
> > > --return ['Hello, world'] -> return iter(['Hello, world'])
> > >
> > > --Joe
>
> --
> C. Titus Brown, ctb at msu.edu
More information about the cse491-fall-2009
mailing list