Skip to content
Myr

Don't lie to the user about POST redirects

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent bb1567d · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:flask/debughelpers.py+2 added-1 removed
52 unmodified lines
53 'without one.')5455 buf.append(' Make sure to directly send your %s-request to this URL '56 'since we can\'t make browsers or HTTP clients redirect '57 'with form data.' % request.method)57 'with form data reliably or without user interaction.' %58 request.method)59 buf.append('\n\nNote: this exception is only raised in debug mode')60 AssertionError.__init__(self, ''.join(buf).encode('utf-8'))6162
17 unmodified lines