Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] web: /web/image: conforming HTTP status line
HTTP status lines are required to have both a status code *and* a "reason phrase". Some stricter HTTP clients / proxies choke on status lines without "reason". Technically, setting `response.status` is supposed to set both at the same time, so we need to provide both, or to set `status_code` only and let werkzeug add the reason. This patch does the latter. Fixes odoo#8924
- Loading branch information