New submission from Petri Savolainen <petri.savolai...@iki.fi>:

On lines 54 & 55 of repoze/retry/__init__.py:

cl = environ.get("CONTENT_LENGTH",'0')
cl = int(cl)

the code fails if content length is an empty string. One way to fix:

try:
   cl = int(environ['CONTENT_LENGTH'])
except:
   cl = 0

----------
messages: 464
nosy: petri
priority: bug
status: unread
title: repoze.retry fails if environ["CONTENT_LENGTH"] == ''
topic: repoze.retry

__________________________________
Repoze Bugs <b...@bugs.repoze.org>
<http://bugs.repoze.org/issue171>
__________________________________
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to