Permalink
Browse files

Don't lie to the user about POST redirects

  • Loading branch information...
1 parent bb1567d commit 87f50fdc6f01160d75fcc87569f0754b800fc59f @mitsuhiko mitsuhiko committed Aug 26, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 flask/debughelpers.py
View
@@ -54,7 +54,8 @@ def __init__(self, request):
buf.append(' Make sure to directly send your %s-request to this URL '
'since we can\'t make browsers or HTTP clients redirect '
- 'with form data.' % request.method)
+ 'with form data reliably or without user interaction.' %
+ request.method)
buf.append('\n\nNote: this exception is only raised in debug mode')
AssertionError.__init__(self, ''.join(buf).encode('utf-8'))

0 comments on commit 87f50fd

Please sign in to comment.