[datafeed] Complete the import log even if parser could not be found
It happens that if the parser could not be found, _pull_data() would just
return an empty dict without taking care to close the import log which it just
opened. This leads to misleading information in the user interface where
CWDataImport entities kept accumulating in the "imports" tab of CWSource
primary view without anything else happening.
So:
* log an error message when parser cannot be found
* always close (write logs and set "end_timestamp" attribute) import log when
leaving _pull_data().
Closes #15505460.
HTTP cache management
=====================
.. automodule:: cubicweb.web.httpcache
Cache policies
--------------
.. autoclass:: cubicweb.web.httpcache.NoHTTPCacheManager
.. autoclass:: cubicweb.web.httpcache.MaxAgeHTTPCacheManager
.. autoclass:: cubicweb.web.httpcache.EtagHTTPCacheManager
.. autoclass:: cubicweb.web.httpcache.EntityHTTPCacheManager
Exception
---------
.. autoexception:: cubicweb.web.httpcache.NoEtag
Helper functions
----------------
.. autofunction:: cubicweb.web.httpcache.set_http_cache_headers
.. NOT YET AVAILABLE IN STABLE autofunction:: cubicweb.web.httpcache.lastmodified