def headers_to_dict(headers):
    hdrs = {}
    for h, v in headers:
        h = h.lower()
        if h in hdrs:
            if isinstance(hdrs[h], list):
                hdrs[h].append(v)
            else:
                hdrs[h] = [hdrs[h], v]
        else:
            hdrs[h] = v
    return hdrs
(bool) Set Where.Point.pos.text from a (lat,lon) tuple.
dataset/ETHPy150Open gholt/swiftly/swiftly/client/utils.py/headers_to_dict--crossover with--dataset/ETHPy150Open bradfitz/addressbooker/gdata/geo/__init__.py/Where.set_location