Skip to content

All Requests Return 401 from real servers #88

@t8y8

Description

@t8y8

The refactoring in #87 has a bug in our header handling.

    @staticmethod
    def _make_common_headers(auth_token, content_type):
        retval = {}
        if auth_token is not None:
            retval['x-tableau-auth'] = auth_token
        if content_type is not None:
            retval['content-type'] = content_type

There's no return -- so the x-tableau-auth never gets updated, and all calls are missing the token.

I can whip up a patch.

/cc @RussTheAerialist

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions