Skip to content
Snippets Groups Projects
Commit f3e10f69 authored by Thanh Dodeur's avatar Thanh Dodeur
Browse files

[FIX] base, web: set 304 status in binary_content


Before this commit, the No Change status wasn't properly set because
the `filehash` wasn't passed to `_binary_set_headers` and because
the status was not changed to 304 if it was already set to 200 earlier.

This commit fixes this issue and also prevents images to be processed
in `content_image` if the status is 304.

opw-2008426

closes odoo/odoo#34032

Signed-off-by: default avatarChristophe Simonis <chs@odoo.com>
parent 82bf73fe
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment