Commit de567c0b authored by Lucas Carvalho's avatar Lucas Carvalho

None must be returned if the request method is PUT.

parent 176687d3
......@@ -41,6 +41,9 @@ def WebSection_getDocumentValue(self, key, portal=None, language=None,\
Return raw content.
Raise HTTP error (404) if key does not exist
"""
if self.REQUEST.get('REQUEST_METHOD') in ('PUT',):
return
if portal is None:
portal = self.getPortalObject()
......
43
\ No newline at end of file
44
\ No newline at end of file
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