Merge pull request #2096 from geekless/missing-encodeResponse
Add missing @helper.encodeResponse
This commit is contained in:
commit
18c407bfc2
2 changed files with 4 additions and 0 deletions
|
@ -373,6 +373,7 @@ class UiRequestPlugin(object):
|
|||
gc.collect() # Implicit grabage collection
|
||||
yield "Done in %.1f" % (time.time() - s)
|
||||
|
||||
@helper.encodeResponse
|
||||
def actionDumpobj(self):
|
||||
|
||||
import gc
|
||||
|
@ -410,6 +411,7 @@ class UiRequestPlugin(object):
|
|||
|
||||
gc.collect() # Implicit grabage collection
|
||||
|
||||
@helper.encodeResponse
|
||||
def actionListobj(self):
|
||||
|
||||
import gc
|
||||
|
@ -827,6 +829,7 @@ class UiRequestPlugin(object):
|
|||
|
||||
yield "<br>Done. Total: %.2fs" % (time.time() - t)
|
||||
|
||||
@helper.encodeResponse
|
||||
def actionGcCollect(self):
|
||||
import gc
|
||||
self.sendHeader()
|
||||
|
|
|
@ -130,6 +130,7 @@ class FileRequestPlugin(object):
|
|||
|
||||
@PluginManager.registerTo("UiRequest")
|
||||
class UiRequestPlugin(object):
|
||||
@helper.encodeResponse
|
||||
def actionStatsBootstrapper(self):
|
||||
self.sendHeader()
|
||||
|
||||
|
|
Loading…
Reference in a new issue