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
9d23bdab
Commit
9d23bdab
authored
Jul 12, 2012
by
Patrick Gerken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not guess it is a webdav request if the http method is purge
parent
aaed1747
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
doc/CHANGES.rst
doc/CHANGES.rst
+2
-0
src/ZPublisher/BaseRequest.py
src/ZPublisher/BaseRequest.py
+1
-1
No files found.
doc/CHANGES.rst
View file @
9d23bdab
...
@@ -16,6 +16,8 @@ http://docs.zope.org/zope2/releases/.
...
@@ -16,6 +16,8 @@ http://docs.zope.org/zope2/releases/.
- ZPublisher: Do not assume that you can iterate over a publishable object
- ZPublisher: Do not assume that you can iterate over a publishable object
- ZPublisher: Do not guess it is a webdav request if the http method is purge
2.13.15 (2012-06-22)
2.13.15 (2012-06-22)
--------------------
--------------------
...
...
src/ZPublisher/BaseRequest.py
View file @
9d23bdab
...
@@ -379,7 +379,7 @@ class BaseRequest:
...
@@ -379,7 +379,7 @@ class BaseRequest:
# How did this request come in? (HTTP GET, PUT, POST, etc.)
# How did this request come in? (HTTP GET, PUT, POST, etc.)
method
=
request_get
(
'REQUEST_METHOD'
,
'GET'
).
upper
()
method
=
request_get
(
'REQUEST_METHOD'
,
'GET'
).
upper
()
if
method
==
'GET'
or
method
==
'POST'
and
not
isinstance
(
response
,
if
method
in
[
"GET"
,
"POST"
,
"PURGE"
]
and
not
isinstance
(
response
,
xmlrpc
.
Response
):
xmlrpc
.
Response
):
# Probably a browser
# Probably a browser
no_acquire_flag
=
0
no_acquire_flag
=
0
...
...
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