Permalink
Browse files

Fixed typo in http client

  • Loading branch information...
1 parent 3f53633 commit dcbc37d47fe2a8de029f5a2f3ae13adf52e7aace Paul Colomiets committed Jun 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 zorro/http.py
View
@@ -121,7 +121,7 @@ def readrequest():
clen = int(headers.get('Content-Length', '0'))
if clen < 0:
raise EOFError("Wrong content length")
- while pos[0] + clen < len(buf):
+ while pos[0] + clen > len(buf):
readmore()
return status, headers, buf[pos[0]:pos[0]+clen]

0 comments on commit dcbc37d

Please sign in to comment.