Skip to content

Force string for header value for default policy#82

Closed
danielwestendorf wants to merge 2 commits intosocketry:mainfrom
danielwestendorf:fix-81
Closed

Force string for header value for default policy#82
danielwestendorf wants to merge 2 commits intosocketry:mainfrom
danielwestendorf:fix-81

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
@ioquatix
Copy link
Member

ioquatix commented Jul 1, 2025

Closing in favour of #85

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

2 participants