Commit 3e14adc7 authored by Lucas Carvalho's avatar Lucas Carvalho

None must be returned if the request method is PUT.

parent de567c0b
...@@ -54,6 +54,9 @@ def WebSection_getDocumentValue(self, key, portal=None, language=None,\ ...@@ -54,6 +54,9 @@ def WebSection_getDocumentValue(self, key, portal=None, language=None,\
Return list of information for a given key Return list of information for a given key
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()
......
44 45
\ No newline at end of file \ 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