Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/resources/volume.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/resources/volume.py')
-rw-r--r--sugar_network/resources/volume.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sugar_network/resources/volume.py b/sugar_network/resources/volume.py
index 52b8857..b7680a1 100644
--- a/sugar_network/resources/volume.py
+++ b/sugar_network/resources/volume.py
@@ -185,7 +185,8 @@ class Commands(object):
def connect(self, callback, condition=None, **kwargs):
raise NotImplementedError()
- @ad.volume_command(method='GET', cmd='subscribe')
+ @ad.volume_command(method='GET', cmd='subscribe',
+ mime_type='application/json')
def subscribe(self, request, response, only_commits=False):
"""Subscribe to Server-Sent Events.