<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def request_length(self):
 """ Return length of next chunk upload. """

        remainder = self.stop_at - self.offset
        return self.chunk_size if remainder > self.chunk_size else remainder