l.r.b.BaseRdfView(DataDownloadView) : class documentation

Part of lp.registry.browser View In Hierarchy

Known subclasses: lp.registry.browser.person.PersonRdfView, lp.registry.browser.product.ProductRdfView, lp.registry.browser.productrelease.ProductReleaseRdfView, lp.registry.browser.productseries.ProductSeriesRdfView, lp.registry.browser.project.ProjectRdfView

A view that sets its mime-type to application/rdf+xml.
Method getBody Render RDF output, and return it as a string encoded in UTF-8.

Inherited from DataDownloadView:

Method __init__ Undocumented
Method __call__ Set the headers and return the body.
def getBody(self):
Render RDF output, and return it as a string encoded in UTF-8.

Render the page template to produce RDF output. The return value is string data encoded in UTF-8.

As a side-effect, HTTP headers are set for the mime type and filename for download.

API Documentation for Launchpad, generated by pydoctor at 2019-09-18 00:00:08.