<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def append(self, fdata, offset, query='/content/uploads'):
 """ append binary data to an upload `fdata` - binary data to send to pulp `offset` - the amount of previously-uploaded data """

        query = '%s/%s/%s/' % (query, self.uid, offset)
        _r = self.connector.put(query, fdata, log_data=False, auto_create_json_str=False)

        juicer.utils.Log.log_notice("Appending to: %s" % query)
        juicer.utils.Log.log_debug("Continuing upload with append. POST returned with data: %s" % str(_r.content))

        return _r.status_code