def request_structured_output(self):
        out_mime_type = unicode(self.request.accept)
        return ((out_mime_type == XML_CONTENT_TYPE) or
                (out_mime_type == JSON_CONTENT_TYPE))
Returns True if the request explicitly requested structured output
dataset/ETHPy150Open jahlborn/appengine-rest-server/src/main/python/rest/__init__.py/Dispatcher.request_structured_output