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
2957818d
Commit
2957818d
authored
Apr 19, 2004
by
Chris Withers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow ZSQL methods to be edited via WebDAV.
See
http://zope.org/Collectors/Zope/1289
.
parent
67ce27e0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/python/Shared/DC/ZRDB/DA.py
lib/python/Shared/DC/ZRDB/DA.py
+3
-1
No files found.
lib/python/Shared/DC/ZRDB/DA.py
View file @
2957818d
...
...
@@ -13,7 +13,7 @@
__doc__
=
'''Generic Database adapter'''
__version__
=
'$Revision: 1.11
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.11
5
$'
[
11
:
-
2
]
import
OFS.SimpleItem
,
Aqueduct
,
RDB
,
re
import
DocumentTemplate
,
marshal
,
md5
,
base64
,
Acquisition
,
os
...
...
@@ -275,6 +275,8 @@ class DA(
self
.
REQUEST
.
RESPONSE
.
setHeader
(
'Content-Type'
,
'text/plain'
)
return
'<params>%s</params>
\
n
%s'
%
(
self
.
arguments_src
,
self
.
src
)
def
get_size
(
self
):
return
len
(
self
.
document_src
())
def
PUT
(
self
,
REQUEST
,
RESPONSE
):
"""Handle put requests"""
self
.
dav__init
(
REQUEST
,
RESPONSE
)
...
...
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