Hi Graham,

To be honest, I'm not sure as I'm not a TG experts. The cherrypy.request
attributes are created very early in the processing of the request but are only
filled at certain point of the process.

The cherrypy.request.params are filled just before the TG page handler is being
called (after the processRequestBody() cherrypy method is called). So if you to
try to read those before you wont get them.

Have a look at the run() method of the Request class:
http://www.cherrypy.org/file/tags/cherrypy-2.1.0/cherrypy/_cphttptools.py

It contains the CherryPy process of the request.

Now it really depends when the controller is being initialised and when you
access those values.

But again, I'm not a TG guru.

- Sylvain


Selon Graham Ashton <[EMAIL PROTECTED]>:

>
> Hi Sylvain. I was trying to access them at the beginning of my
> controller method. They should be available by then, shouldn't they?
>
> -- Graham
>
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to