{{ path('chill_docstore_dav_document_get', {'uuid': stored_object.uuid}) }} {% if properties.lastModified or properties.contentLength or properties.resourceType or properties.etag or properties.contentType or properties.creationDate %} {% if properties.resourceType %} {% endif %} {% if properties.creationDate %} {% endif %} {% if properties.lastModified %} {% if last_modified is not same as null %} {{ last_modified.format(constant('DATE_RSS')) }} {% else %} {% endif %} {% endif %} {% if properties.contentLength %} {% if content_length is not same as null %} {{ content_length }} {% else %} {% endif %} {% endif %} {% if properties.etag %} {% if etag is not same as null %} "{{ etag }}" {% else %} {% endif %} {% endif %} {% if properties.contentType %} {{ stored_object.type }} {% endif %} HTTP/1.1 200 OK {% endif %} {% if properties.unknowns|length > 0 %} {% for k,u in properties.unknowns %} <{{ 'ns'~ k ~ ':' ~ u.prop }} /> {% endfor %} HTTP/1.1 404 Not Found {% endif %}