Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

All Requests Return 401 from real servers #88

Copy link
Copy link
@t8y8

Description

@t8y8
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.