1. André Felipe Dias
  2. wheezy.web


Andriy Kornatskyy  committed 24fb9ef

Fixed issue with empty CONTENT_LENGTH as supplied by wsgiref simple server.

  • Participants
  • Parent commits 049e699
  • Branches default

Comments (0)

Files changed (1)

File demos/template/src/tracing.py

View file
     ts = os.times()
     e = request.environ
     r = resource.getrusage(resource.RUSAGE_SELF)
-    if 'CONTENT_LENGTH' in e:
+    if 'CONTENT_LENGTH' in e and e['CONTENT_LENGTH']:
         form = filter_names(request.form, ignore=(