'This skips sizes because there\'s its not part of the iter api.'

def match_iter(self, req, body, sizes):

    for line in req.body:
        if ('\n' in line[:(-1)]):
            raise AssertionError(('Embedded    new    line:    %r' % line))
        if (line != body[:len(line)]):
            raise AssertionError(('Invalid    body    data    read:    %r    !=    %r' % (line, body[:len(line)])))
        body = body[len(line):]
    if body:
        raise AssertionError(('Failed    to    read    entire    body:    %r' % body))
    try:
        data = six.next(iter(req.body))
        raise AssertionError(('Read    data    after    body    finished:    %r' % data))
    except StopIteration:
        pass
