def serve_blob(self, blob_info):
        self.response.clear()
        self.response.disp_cache_resp_ = False

        content_type_preferred = None
        if blob_info:
            # return actual blob
            range_header = self.request.headers.get(RANGE_HEADER, None)
            if range_header is not None:
                self.response.headers[blobstore.BLOB_RANGE_HEADER] = (
                    range_header)
            self.response.headers[blobstore.BLOB_KEY_HEADER] = (
                str(blob_info.key()))
            content_type_preferred = blob_info.content_type

        self.set_response_content_type(BINARY_CONTENT_TYPE,
                                       content_type_preferred)
Serves a BlobInfo response.
dataset/ETHPy150Open jahlborn/appengine-rest-server/src/main/python/rest/__init__.py/Dispatcher.serve_blob