add test
This commit is contained in:
parent
156ba56fdc
commit
b3f6e5ab2f
2 changed files with 34 additions and 0 deletions
|
|
@ -816,6 +816,8 @@ class ResponseObject(_TemplateEnvironmentMixin, ActionAuthenticatorMixin):
|
|||
|
||||
if 'success_action_status' in form:
|
||||
status_code = form['success_action_status']
|
||||
elif 'success_action_redirect' in form:
|
||||
status_code = 303
|
||||
else:
|
||||
status_code = 204
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue