Attention

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

wsgidav.util.getContentLength

wsgidav.util.getContentLength(environ)[source]

Return a positive CONTENT_LENGTH in a safe way (return 0 otherwise).