Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5
Commits
de567c0b
Commit
de567c0b
authored
Jul 18, 2011
by
Lucas Carvalho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
None must be returned if the request method is PUT.
parent
176687d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
bt5/erp5_web_shacache/ExtensionTemplateItem/ShaCache.py
bt5/erp5_web_shacache/ExtensionTemplateItem/ShaCache.py
+3
-0
bt5/erp5_web_shacache/bt/revision
bt5/erp5_web_shacache/bt/revision
+1
-1
No files found.
bt5/erp5_web_shacache/ExtensionTemplateItem/ShaCache.py
View file @
de567c0b
...
@@ -41,6 +41,9 @@ def WebSection_getDocumentValue(self, key, portal=None, language=None,\
...
@@ -41,6 +41,9 @@ def WebSection_getDocumentValue(self, key, portal=None, language=None,\
Return raw content.
Return raw content.
Raise HTTP error (404) if key does not exist
Raise HTTP error (404) if key does not exist
"""
"""
if
self
.
REQUEST
.
get
(
'REQUEST_METHOD'
)
in
(
'PUT'
,):
return
if
portal
is
None
:
if
portal
is
None
:
portal
=
self
.
getPortalObject
()
portal
=
self
.
getPortalObject
()
...
...
bt5/erp5_web_shacache/bt/revision
View file @
de567c0b
43
44
\ No newline at end of file
\ No newline at end of file
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