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 Raw variant for Authorzation #804

Merged
merged 1 commit into from
May 30, 2024

Conversation

tonyke-bot
Copy link
Contributor

Motivation

Some service providers don't authorized user in standard Authorization header, using Bearer or Basic. So adding a Raw(String) variant to allow passing raw string into the header

Solution

Add new variant Authorization::Raw(String)

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

seems reasonable

@prestwich prestwich merged commit 2bff1dd into alloy-rs:main May 30, 2024
24 checks passed
ben186 pushed a commit to ben186/alloy that referenced this pull request Jul 27, 2024
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.

3 participants