Show More
@@ -313,7 +313,8 b' def parserequestfromenv(env, reponame=No' | |||
|
313 | 313 | if bodyfh is None: |
|
314 | 314 | bodyfh = env['wsgi.input'] |
|
315 | 315 | if 'Content-Length' in headers: |
|
316 |
bodyfh = util.cappedreader(bodyfh, |
|
|
316 | bodyfh = util.cappedreader(bodyfh, | |
|
317 | int(headers['Content-Length'] or '0')) | |
|
317 | 318 | |
|
318 | 319 | return parsedrequest(method=env['REQUEST_METHOD'], |
|
319 | 320 | url=fullurl, baseurl=baseurl, |
General Comments 0
You need to be logged in to leave comments.
Login now