src/plugins/utils/jsonapi.py [60:66]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    }
    if auth:
        xcreds = auth.encode(encoding='ascii', errors='replace')
        bauth = base64.encodebytes(xcreds).decode('ascii', errors='replace').replace("\n", '')
        headers["Authorization"] = "Basic %s" % bauth
    if cookie:
        headers["Cookie"] = cookie
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/plugins/utils/jsonapi.py [78:84]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    }
    if auth:
        xcreds = auth.encode(encoding='ascii', errors='replace')
        bauth = base64.encodebytes(xcreds).decode('ascii', errors='replace').replace("\n", '')
        headers["Authorization"] = "Basic %s" % bauth
    if cookie:
        headers["Cookie"] = cookie
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



