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