Hello,

Is it possible to request an http redirect from within a macro
handler?  Using moinmoin 1.9.3, when I try:

def macro_Quiz( macro, filename ):
....
          macro.request.http_redirect( 'http://www.disney.com', code=301 )
 

<<Quiz: execution failed [proxy exception for <werkzeug.wrappers.BaseResponse 
object at 0xaacbb4c>] (see also the log)>>


thanks
nh

-- 
Neal Holtz                             http://cee.carleton.ca/~nholtz
Dept. of Civil and Environmental Engineering,   Carleton University,   
Ottawa, Ontario, Canada K1S 5B6.               nho...@cee.carleton.ca
Public Key:  http://holtz3.cee.carleton.ca/~nholtz/pubkey.asc
Office-Hours: http://holtz3.cee.carleton.ca/~nholtz/office-hours.html
Free-Busy: http://holtz3.cee.carleton.ca/~nholtz/free-busy.cgi
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to