|
|
@@ -33,7 +33,7 @@ class PyramidContext(ContextInterface):
|
|
33
|
33
|
json_body = req.json_body
|
|
34
|
34
|
# TODO : raise exception if not correct , return 400 if uncorrect instead ?
|
|
35
|
35
|
else:
|
|
36
|
|
- json_body = None
|
|
|
36
|
+ json_body = {}
|
|
37
|
37
|
|
|
38
|
38
|
return RequestParameters(
|
|
39
|
39
|
path_parameters=req.matchdict,
|