Redirect makes a redirect in the client side, that is not what I need.

For example, I enter the URL /api/v0/getinfo:
In the api controller I have the functions v0, v1, v2, etc.
Each of these functions must redirect to other controller, without 
"telling" to the client. So inside the v0 controller I have the "getinfo" 
function for example.

As I said, I want exactly what LOAD does, but without the div.

Thank you!

El martes, 5 de julio de 2016, 10:47:33 (UTC-3), Marlysson Silva escribió:
>
> Internal redirect? What case?
> redirect(URL()) don't work?
>
> Em terça-feira, 5 de julho de 2016 10:17:52 UTC-3, Facundo escreveu:
>>
>> I want to make an internal redirect and I read that I can use LOAD,  but 
>> the problem is that it creates a div.
>>
>> The only option I see is passing the LOAD thru a regex which deletes the 
>> div.
>>
>> But, is there a way to make a internal redirect? Or, can I disable de div 
>> in the response of the LOAD?
>>
>> Thanks!
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to