added cors headers for post documents ressource