diff options
| author | ianb <devnull@localhost> | 2007-08-15 18:04:47 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2007-08-15 18:04:47 +0000 |
| commit | d198901cadd953435cdc4e07100bcc5a1630c89f (patch) | |
| tree | 8e1ab8b19c60f599b00e0f3c89e0cdf477ac8cf3 /webtest/debugapp.py | |
| parent | a4238b8445432a8727f5b8904fa9e79c30c29f7e (diff) | |
| download | webtest-d198901cadd953435cdc4e07100bcc5a1630c89f.tar.gz | |
rename method from webob
Diffstat (limited to 'webtest/debugapp.py')
| -rw-r--r-- | webtest/debugapp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webtest/debugapp.py b/webtest/debugapp.py index cad0565..c32306f 100644 --- a/webtest/debugapp.py +++ b/webtest/debugapp.py @@ -12,7 +12,7 @@ def debug_app(environ, start_response): if name.upper() != name: value = repr(value) parts.append('%s: %s\n' % (name, value)) - req_body = req.read_body() + req_body = req.body if req_body: parts.append('-- Body ----------\n') parts.append(req_body) |
