Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #124 from baverman/master

fix: TypeError: object of type 'int' has no len()
  • Loading branch information...
commit 0e125967f7474a33cbac10d34d3d095859f2e369 2 parents a3b14df + 2eda1b6
@plq plq authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/rpclib/server/wsgi.py
View
2  src/rpclib/server/wsgi.py
@@ -43,7 +43,7 @@
def _wsgi_input_to_iterable(http_env):
istream = http_env.get('wsgi.input')
- length = http_env.get('CONTENT_LENGTH', str(MAX_CONTENT_LENGTH))
+ length = str(http_env.get('CONTENT_LENGTH', MAX_CONTENT_LENGTH))
if len(length) == 0:
length = 0
else:
Please sign in to comment.
Something went wrong with that request. Please try again.