当我在应用程序中重定向时,我想在post中发送一些变量。
场景是这样的
def redirect_with_post():
post_variable = "i am a post variable"
return HttpRedirect(location="/confirm?id=23&user=user1")现在我想把
post\_variable 使用的工具和软件:-
发布于 2013-02-17 14:49:24
重定向由客户端(您的浏览器)执行。它只支持一个位置标头。您不能通过重定向发送POST数据。请参阅302
https://stackoverflow.com/questions/14729176
复制相似问题