wsgidav.samples.virtual_dav_provider.RootCollection.finalize_headers#

RootCollection.finalize_headers(environ, response_headers)#

Perform custom operations on the response headers.

This gets called before the response is started. It enables adding additional headers or modifying the default ones.