diff options
author | Ivan Alejandro <ivanalejandro0@yahoo.com.ar> | 2013-07-05 17:16:57 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@yahoo.com.ar> | 2013-07-05 17:16:57 -0300 |
commit | 84c82e2e70eb92f8871f64b294f055c89c8be331 (patch) | |
tree | 388afd548cede8272168da10bc2544fb669fe316 /src/leap/util/request_helpers.py | |
parent | b7a323da8610e7722cad2353394f4843c5437ed3 (diff) | |
parent | ec64e0245c13b6fbc928989d9b412fec034cdcc8 (diff) |
Merge branch 'feature/srpauth_coverage' into develop
Diffstat (limited to 'src/leap/util/request_helpers.py')
-rw-r--r-- | src/leap/util/request_helpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/util/request_helpers.py b/src/leap/util/request_helpers.py index e06dabb8..350abfbd 100644 --- a/src/leap/util/request_helpers.py +++ b/src/leap/util/request_helpers.py @@ -41,7 +41,7 @@ def get_content(request): contents = "" mtime = None - if request.json: + if request.content and request.json: if callable(request.json): contents = json.dumps(request.json()) else: |