Changeset 8268f76 in trunk
- Timestamp:
- 2020-04-18T07:52:17Z (5 years ago)
- Branches:
- master
- Children:
- d26ce3b
- Parents:
- e894795
- git-author:
- meejah <meejah@…> (2019-10-13 10:11:24)
- git-committer:
- meejah <meejah@…> (2020-04-18 07:52:17)
- Location:
- src/allmydata/web
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/allmydata/web/filenode.py ¶
re894795 r8268f76 153 153 raise WebError( 154 154 u"Cannot create directory {}, because its " 155 u"parent is a file, not a directory".format(name) 155 u"parent is a file, not a directory".format( 156 quote_output(name, encoding='utf-8') 157 ) 156 158 ) 157 159 raise WebError( 158 "Files have no children named {}".format(160 u"Files have no children named {}".format( 159 161 quote_output(name, encoding='utf-8'), 160 162 ) -
TabularUnified src/allmydata/web/root.py ¶
re894795 r8268f76 167 167 return filenode.FileNodeDownloadHandler(self.client, node) 168 168 169 def render HTTP(self, ctx):169 def render_GET(self, ctx): 170 170 raise WebError("/file must be followed by a file-cap and a name", 171 171 http.NOT_FOUND)
Note: See TracChangeset
for help on using the changeset viewer.