skeleton/entities.py.tmpl
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 24 Mar 2014 10:34:58 +0100
changeset 9736 e0b3fcf1c205
parent 8207 c04676b16c59
permissions -rw-r--r--
[web] Fix HEAD request handling (closes #3677949) Don't special-case HEAD in CubicWebRequestBase.is_client_cache_valid so we don't return garbage. HEAD is supposed to return the actual headers that a GET would return, which we can't do if we bypass all the normal cubicweb logic. In particular, we no longer always return 200, and return the right Content-Length/Content-Type/...

# -*- coding: utf-8 -*-
# copyright %(year)s %(author)s, all rights reserved.
# contact %(author-web-site)s -- mailto:%(author-email)s
#
%(long-license)s
"""%(distname)s entity's classes"""