routes - How to send post variables in HttpRedirect or HttpFound in webob in python ? -



routes - How to send post variables in HttpRedirect or HttpFound in webob in python ? -

i want send variable in post when doing redirecting in application.

scenario this

def redirect_with_post(): post_variable = "i post variable" homecoming httpredirect(location="/confirm?id=23&user=user1")

# want send post_variable

i want send variable in post instead of querystring post request while redirecting.

tools , software used:-

python, webob, route

redirect performed client (your browser). , back upwards single location header. can't send post info through redirect. see https://en.wikipedia.org/wiki/http_302

python routes webob

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -