diff options
| author | Kiril Vangelovski <kiril@lambda-is.com> | 2018-04-16 10:29:13 +0200 |
|---|---|---|
| committer | xmo-odoo <xmo@odoo.com> | 2018-04-16 10:29:13 +0200 |
| commit | ff07f078fa9916630dd8119a87cc9795810fb159 (patch) | |
| tree | b25d01787649b21bd8e28133b38644cc31c872da /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 7a2cba3c8934064b311da4312ef2fbd07c6329ec (diff) | |
[FIX] base: reason json payload using get_data
Replace `httprequest.stream.read()` by `httprequest.get_data()` so the
payload content remains available: get_data stores the request body (by
default) so it remains available for alternative processing or checks
(MAC checks for webhook validations for instance). With `stream.read()`,
once the data is read if it's not stored separately it is lost.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
