diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-01-15 16:34:42 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-01-15 16:37:30 +0100 |
| commit | ddd3e08fbcb54e971537f9f20668c00dbe36ab37 (patch) | |
| tree | f856ba2c3404ac5cccd7dc719e37226a68990cd8 /addons/base_setup | |
| parent | 59ce9a0ed94cd82679dfae8a0dd69f05dbca1e34 (diff) | |
[FIX] im_livecat: `HttpRequest.render` returns a Response
This revision is related to 100d604cb0ebd6aa3f57c9809c6771b0b4b72a07
The above revision aimed to add the correct `content-type` headers,
the according route returning Javascript and not simple html.
HttpRequest.render` returns a Response,
and `make_response` doesn't expect a Response as first argument.
In other words, this is not possible to make Reponse from a Response.
`HttpRequest.render` accepts kwargs, including `headers`.
opw-666898
Diffstat (limited to 'addons/base_setup')
0 files changed, 0 insertions, 0 deletions
