Changeset 8331e7d in trunk
- Timestamp:
- 2020-07-09T20:05:31Z (5 years ago)
- Branches:
- master
- Children:
- 83f36ab6
- Parents:
- 44ecfda
- git-author:
- Sajith Sasidharan <sajith@…> (2020-06-24 01:54:23)
- git-committer:
- Sajith Sasidharan <sajith@…> (2020-07-09 20:05:31)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/allmydata/web/unlinked.py ¶
r44ecfda r8331e7d 87 87 elem = UploadResultsElement(self._upload_results) 88 88 return renderElement(req, elem) 89 90 # This is weird but necessary because:91 #92 # 1. MultiFormatResource.render() uses argument "t" to figure out93 # its output format.94 #95 # 2. Upload request is of the form "POST /uri?t=upload&file=newfile".96 # See URIHandler.render_POST().97 #98 # MultiFormatResource.render() looks up "t" argument, which in99 # this case has the value "upload", and then it would look for a100 # render_UPLOAD() method.101 #102 # We could change upload request to use more descriptive names103 # that do not cause name collisions like this. That should be a104 # separate change though.105 render_UPLOAD = render_HTML106 89 107 90
Note: See TracChangeset
for help on using the changeset viewer.