equal
deleted
inserted
replaced
164 """interface for downloadable entities""" |
164 """interface for downloadable entities""" |
165 __regid__ = 'IDownloadable' |
165 __regid__ = 'IDownloadable' |
166 __abstract__ = True |
166 __abstract__ = True |
167 |
167 |
168 def download_url(self, **kwargs): # XXX not really part of this interface |
168 def download_url(self, **kwargs): # XXX not really part of this interface |
169 """return an url to download entity's content""" |
169 """return a URL to download entity's content""" |
170 raise NotImplementedError |
170 raise NotImplementedError |
171 |
171 |
172 def download_content_type(self): |
172 def download_content_type(self): |
173 """return MIME type of the downloadable content""" |
173 """return MIME type of the downloadable content""" |
174 raise NotImplementedError |
174 raise NotImplementedError |