Skip to content

Commit

Permalink
- patch for POST requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Mar 23, 2011
1 parent 692dea9 commit 97133c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
open('CHANGES.txt').read())

setup(name='zope.app.publisher',
version = '3.8.4',
version = '3.8.5',
url='http://pypi.python.org/pypi/zope.app.publisher/',
author='Zope Corporation and Contributors',
author_email='zope-dev@zope.org',
Expand Down
3 changes: 3 additions & 0 deletions src/zope/app/publisher/browser/fileresource.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ def chooseContext(self):
"""Choose the appropriate context"""
return self.context

def POST(self):
""" POST default """
return self.GET()

def GET(self):
"""Default document"""
Expand Down

0 comments on commit 97133c6

Please sign in to comment.