def fake_uploader(rfd, content_length):
    """Fake the upload by reading all the content then returning."""
    read_data = 0
    while read_data < content_length:
        buf = rfd.read(1024)
        read_data += len(buf)
    return -1, None
