code: def chunks(self):
          
  
          while True:
              t, v = self.chunk()
              yield t, v
              if t == b'IEND':
                  break
docs: Return an iterator that will yield each chunk as a
          (*chunktype*, *content*) pair.