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

Custom Headers #164

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Custom Headers #164

wants to merge 1 commit into from

Conversation

csgulati09
Copy link
Collaborator

Title: Different casing for custom Header

Description:

  • Supporting different cases for custom headers
  • Changed regex of createHeaders
APIKeyCustom: '1234567890',
xCustomHeader: 'chandeep',
UserHeader: '123'
  
headers -> 
  
'api-key-custom': '1234567890',
'x-custom-header': 'chandeep'
'user-header': '123'

Motivation:
Edge case if Pascal Casing then '-' was added according to existing regex (-user-header)

Related Issues:
Fixes: #163

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jan 10, 2025
@csgulati09 csgulati09 self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom Headers of different casing
1 participant