Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for custom authorization header value #150

Conversation

DaniilShmelev
Copy link
Contributor

typed-rest-client doesn't support Authorization: token ... by default, so we need to pass it as an HTTP header.
This is needed for python release binary downloading from the python versions registry.

package.json Outdated Show resolved Hide resolved
tool.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@anatolybolshakov anatolybolshakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@DaniilShmelev
Copy link
Contributor Author

@mmrazik Could you please review and merge this PR?
Also, could you publish the package?

@mmrazik mmrazik merged commit 5dbfaf3 into microsoft:master Mar 17, 2022
@DaniilShmelev
Copy link
Contributor Author

DaniilShmelev commented Mar 21, 2022

@mmrazik hi, could you please publish the package to npm?

You'll have to build the repo by checking it out, running npm install and npm run build. After that, you can publish it via npm publish ./_build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants