On Mon, Mar 8, 2010 at 1:24 PM, Vishal <[email protected]> wrote:
> Hi,
> Olemis,

:o)

> I had misread your first reply, and so my reply would come out as confused.
> Sorry about that.
> Now for a pointed question.
> When a javascript program creates an ajax request, does it set the path_info
> in the req object.
> I could not find anything of that sort in the autocompleteusers pluginĀ and
> it still works !!!!
> Is there anybody in this list who understand the autocomplete plugin well
> enough to explain, how is it populating the req object.

You just need to request the URL *FROM THE CLIENT SIDE*
`http://myserver.com/here/is/trac/this/is/the/path` and the request
object is available auto-magically *IN THE SERVER SIDE* with
req.path_info set to `this/is/the/path`.

Pls read PEP 333 [1]_ for further details

.. [1] PEP 333 -- Python Web Server Gateway Interface v1.0
         (http://www.python.org/dev/peps/pep-0333/)

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Soporte para Hessian (RPC) en Trac -
http://feedproxy.google.com/~r/simelo-es/~3/1vNiBD5LjP8/soporte-para-hessian-rpc-en-trac.html

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to