commit | d433b2a89ecf8099812f770f94f81eca2edb8a5b | [log] [tgz] |
---|---|---|
author | Joe Gregorio <jcgregorio@google.com> | Tue Feb 22 10:51:51 2011 -0500 |
committer | Joe Gregorio <jcgregorio@google.com> | Tue Feb 22 10:51:51 2011 -0500 |
tree | e5d413ca0cb33dd6e28ad59b7052e6ae43796ea7 | |
parent | c2a7393581b950071aa0a82c8179f4a104c167ef [diff] [blame] |
Now using the dataWrapper features flag to control serialization of JSON requests.
diff --git a/apiclient/http.py b/apiclient/http.py index f713ec8..094271f 100644 --- a/apiclient/http.py +++ b/apiclient/http.py
@@ -150,7 +150,7 @@ resp, content = self.responses[methodId] return HttpRequestMock(resp, content, postproc) else: - model = JsonModel() + model = JsonModel(False) return HttpRequestMock(None, '{}', model.response)