Skip to content

Force string for header value for default policy #82

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

danielwestendorf
Copy link

Types of Changes

Fixes #81 by casting any non-nil && non-string value to a string. Since application code may set any header value to any object, forcing a string here makes sense.

  • Bug fix.

Contribution

@danielwestendorf danielwestendorf changed the title Fix 81 Force string for header value for default policy May 8, 2025
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.

NoMethodError when a header value is not a string
1 participant