data need not be prefixed with http..

This commit is contained in:
Sangeeth Saravanaraj
2015-05-01 14:32:36 +05:30
parent 61a7cecb31
commit d60a652259
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ class HTTPData(ElementBase):
name = 'data'
namespace = 'urn:xmpp:http'
interfaces = set(['data'])
plugin_attrib = 'http-data'
plugin_attrib = 'data'
is_extension = True
def get_data(self, encoding='text'):