hi

According to PEP333
> CONTENT_LENGTH
> The contents of any Content-Length fields in the HTTP request. May be empty 
> or absent.

So environ['CONTENT_LENGTH'] may be empty string.
The following code will raise ValueError when content length is empty string.

file: repoze/retry/__init__.py
            cl = environ.get('CONTENT_LENGTH', '0')
            cl = int(cl)

--
Yao CL
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to