summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2015-08-25 18:10:10 +0200
committerOlivier Dony <odo@openerp.com>2015-08-25 18:10:11 +0200
commit60de7719798429fd5ecf90443333bb2936052a03 (patch)
tree71eaf22871d604dbe41b662bc6689409fd5b9823 /addons/web/static/src/js/framework/session_instance.js
parente16d495d8965522d90ddf5d5da234b1650a695f9 (diff)
[FIX] base: adapt _serve_attachment for saas-6
Commit c2cbb75319dfde57420bf38f8f057ad2f55cfcec modified the logic of _serve_attachment for empty files. After this patch, empty files are returned with status 200 and a valid ETag, for proper browser caching. However the new stored `checksum` field in saas-6 was not being computed for empty files, resulting in errors when those files were being served. This commit updates the logic to restore the caching behavior for empty files after the forward-port to saas-6.
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions