Hi,
I want a manner to get full GET URL from client, but using a rewrite
in routes_in I can get only a half of. An example:
routes_in = (
('/(?P<all>.+)', '/myapp/default/padrao?\g<all>'),
)
In this case I can get 'full' URL (I say 'full' because I don't get
"http://127.0.0.1:800") with request.env.query_string. But in cases
that I have:
routes_in = (
('/(A|B)(?P<all>.+)', '/myapp/default/padrao?\g<all>'),
)
I can't get "A" or "B", only the expression matched by "(?P<all>.+)".
Is there an way to get "full" URL that I like - am I missing something?
If there isn't, can it be implemented to future versions?
Thanks.
--
Álvaro Justen
Peta5 - Telecomunicações e Software Livre
21 3021-6001 / 9898-0141
http://www.peta5.com.br/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---