Bugfix: Fix CORS issues

We fixed the CORS issues when client asking for the 'Cache-Control' header before load the file

https://github.com/owncloud/ocis/pull/6912
https://github.com/owncloud/ocis/issues/5108
