Commit 98501477 authored by 's avatar

Merged fix for bug 1787: extra Connection header

parent 9b1859c3
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
"""WebDAV support - resource objects.""" """WebDAV support - resource objects."""
__version__='$Revision: 1.34 $'[11:-2] __version__='$Revision: 1.35 $'[11:-2]
import sys, os, string, mimetypes, davcmds, ExtensionClass import sys, os, string, mimetypes, davcmds, ExtensionClass
from common import absattr, aq_base, urlfix, rfc1123_date from common import absattr, aq_base, urlfix, rfc1123_date
...@@ -118,7 +118,6 @@ class Resource(ExtensionClass.Base): ...@@ -118,7 +118,6 @@ class Resource(ExtensionClass.Base):
# Init expected HTTP 1.1 / WebDAV headers which are not # Init expected HTTP 1.1 / WebDAV headers which are not
# currently set by the response object automagically. # currently set by the response object automagically.
# Note we set an borg-specific header for ie5 :( # Note we set an borg-specific header for ie5 :(
response.setHeader('Connection', 'close', 1)
response.setHeader('Date', rfc1123_date(), 1) response.setHeader('Date', rfc1123_date(), 1)
response.setHeader('MS-Author-Via', 'DAV') response.setHeader('MS-Author-Via', 'DAV')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment