def blob_put(self, table, digest, data):
response = self._request('<STR_LIT>', _blob_path(table, digest),<EOL>data=data)<EOL>if response.status == <NUM_LIT>:<EOL><INDENT>return True<EOL><DEDENT>if response.status == <NUM_LIT>:<EOL><INDENT>return False<EOL><DEDENT>if response.status in (<NUM_LIT>, <NUM_LIT>):<EOL><INDENT>raise BlobLocationNotFoundException(table, digest)<EOL><DEDENT>_raise_for_status(response)<EOL>
Stores the contents of the file like @data object in a blob under the
given table and digest.