def headers_list(interp):
    """ Returns a list of response headers sent(or ready to send)"""
    l = []
    space = interp.space
    for h in interp.headers:
        l.append(space.wrap(h))
    return space.new_array_from_list(l)