Doing what Carlos describes above also fixes my LOAD + component +
form issue described here:
http://groups.google.com/group/web2py/browse_thread/thread/378d78ab4a47ed6d/41de5a2254a07508


--Marc

On Feb 15, 2:22 pm, Jonathan Lundell <jlund...@pobox.com> wrote:
> On Feb 15, 2011, at 9:57 AM, Carlos wrote:
>
> > One change: use the following instead for the 'web2py-url' header setting:
>
> >    response.headers['web2py-url'] = request.env.path_info + '?' + 
> > request.env.query_string
>
> > My original post above (using request.url) was causing the query string to 
> > be lost after the redirection.
>
> I haven't been following this thread, so I'm not sure what you're using the 
> web2py-url header for. But if it's going to be submitted back to web2py, 
> you're better off using URL() to generate it. I think.

Reply via email to