Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
98501477
Commit
98501477
authored
Dec 14, 2000
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged fix for bug 1787: extra Connection header
parent
9b1859c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lib/python/webdav/Resource.py
lib/python/webdav/Resource.py
+1
-2
No files found.
lib/python/webdav/Resource.py
View file @
98501477
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
"""WebDAV support - resource objects."""
"""WebDAV support - resource objects."""
__version__
=
'$Revision: 1.3
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
5
$'
[
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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment