Неверный тип json при отправке запросов GET в python?
Мой код:
def get_authenticate():
    header = {
        "login": username,
        "password": password,
        "db": db,
        "content-type": "application/json"
    }
    h_data = json.dumps(header, indent=4)
    get_tokens = requests.get(url="https://someurl.com/api/auth/token/", headers=json.loads(h_data))
    return get_tokens
get_ = get_authenticate()
print(get_)
for i in get_:
    print(i)
Выход:
<Ответ [400]>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
400 Плохой запрос
Плохой запрос
Недопустимые данные JSON