Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

unfix the fix since it broke. Just ditch the debug info instead.

  • Loading branch information...
commit 44d2ca07b8478571c3703733d5a5741c6be8d286 1 parent fd7b5f1
@pjz pjz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 aspen/gauntlet.py
View
4 aspen/gauntlet.py
@@ -197,12 +197,12 @@ def _typecast(key, value):
try:
value = int(value)
except ValueError:
- raise Response(404, body="404 int typecasting; %s and %s" % (key, value))
+ raise Response(404)
else: # otherwise it's URL-quoted ASCII
try:
value = value.decode('ASCII')
except UnicodeDecodeError:
- raise Response(400, body="404 decoding typecasting; %s and %s" % (key, value))
+ raise Response(400)
return key, value
def trailing_slash(request):
Please sign in to comment.
Something went wrong with that request. Please try again.