def s3_redirect_default(location='', how=303, client_side=False, headers=None):
 response = current.response
 session = current.session
 session.error = response.error
 session.warning = response.warning
 session.confirmation = response.confirmation
 session.flash = response.flash
 redirect(location, how=how, client_side=client_side, headers=headers)

def s3_redirect_default ( location = '' , how = 303 , client_side = False , headers = None ) : response = current . response session = current . session session . error = response . error session . warning = response . warning session . confirmation = response . confirmation session . flash = response . flash redirect ( location , how = how , client_side = client_side , headers = headers )
redirect preserving response messages .