Read 1 byte from wsgi.input, if this has not been done yet.

Returning a response without reading from a request body might confuse the WebDAV client. This may happen, if an exception like ‘401 Not authorized’, or ‘500 Internal error’ was raised BEFORE anything was read from the request stream.

See GC issue 13, issue 23 See

Note that with persistent sessions (HTTP/1.1) we must make sure, that the ‘Connection: closed’ header is set with the response, to prevent reusing the current stream.