Changeset affe10b3 in trunk
- Timestamp:
- 2020-07-09T20:05:30Z (5 years ago)
- Branches:
- master
- Children:
- 92f6e4b
- Parents:
- 6b5e530c
- git-author:
- Sajith Sasidharan <sajith@…> (2020-02-13 17:25:20)
- git-committer:
- Sajith Sasidharan <sajith@…> (2020-07-09 20:05:30)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/allmydata/web/storage.py ¶
r6b5e530c raffe10b3 379 379 return result[0] 380 380 381 # to appease the test suite 381 382 def renderHTTP(self, ctx=None): 382 # to appease the test suite. 383 self.renderSynchronously() 383 """Send HTML or JSON formatted data, based on request. 384 385 This function contains a bit of nevow-ism, but since this is 386 only called from the test suite, the nevow-ism should go away 387 as we update things. 388 389 :param _nevow.context.WovenContext ctx: context is passed on 390 from the test suite. We get a request out of this 391 context, and use the request to render a result. 392 393 """ 394 from nevow.inevow import IRequest 395 return self.render(IRequest(ctx))
Note: See TracChangeset
for help on using the changeset viewer.