Re: wsgi.WSGIHandler:how to get a WebOb Request at first place

2009-04-06 Thread Malcolm Tredinnick
On Mon, 2009-04-06 at 23:31 -0700, Coonay wrote: > > > On Apr 7, 12:54 pm, Graham Dumpleton > wrote: > > On Apr 7, 2:33 pm, Coonay wrote: > > > > > i want to get a WebOb Request ASAP when the WSGIHandler is called,such > > > as retrieve the SERVER_NAME and SERVER_PORT meta information from the

Re: wsgi.WSGIHandler:how to get a WebOb Request at first place

2009-04-06 Thread Graham Dumpleton
On Apr 7, 4:31 pm, Coonay wrote: > On Apr 7, 12:54 pm, Graham Dumpleton > wrote: > > > On Apr 7, 2:33 pm, Coonay wrote: > > > > i want to get a WebOb Request ASAP when the WSGIHandler is called,such > > > as retrieve the SERVER_NAME and SERVER_PORT meta information from the > > > request,my s

Re: wsgi.WSGIHandler:how to get a WebOb Request at first place

2009-04-06 Thread Coonay
On Apr 7, 12:54 pm, Graham Dumpleton wrote: > On Apr 7, 2:33 pm, Coonay wrote: > > > i want to get a WebOb Request ASAP when the WSGIHandler is called,such > > as retrieve the SERVER_NAME and SERVER_PORT meta information from the > > request,my stupid idea is in the line 261 of wsgi.py that ad

Re: wsgi.WSGIHandler:how to get a WebOb Request at first place

2009-04-06 Thread Graham Dumpleton
On Apr 7, 2:33 pm, Coonay wrote: > i want to get a WebOb Request ASAP when the WSGIHandler is called,such > as retrieve the SERVER_NAME and SERVER_PORT meta information from the > request,my stupid idea is in the line 261 of wsgi.py that add > following : > >         server_name =  request.META