Attention

You are looking at outdated documentation for version 2.x. A newer version is available.

wsgidav.fs_dav_provider.FileResource.finalizeHeaders

FileResource.finalizeHeaders(environ, responseHeaders)

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.