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

Support headers #4

Open
eliassjogreen opened this issue Jul 24, 2024 · 2 comments · Fixed by #12
Open

Support headers #4

eliassjogreen opened this issue Jul 24, 2024 · 2 comments · Fixed by #12
Labels
enhancement New feature or request

Comments

@eliassjogreen
Copy link
Member

Like #2 it will probably be an augmentation of the global Headers class like we do for JSON and it would be wise to also support the rest of the HeadersInit formats: Iterable<string[]> | Record<string, string>.

@eliassjogreen eliassjogreen added the enhancement New feature or request label Jul 24, 2024
@timharek
Copy link

Fantastic! 😎 I was just looking for this 😅

@eliassjogreen
Copy link
Member Author

Reopening, forgot we probably want the return headers typed too!

@eliassjogreen eliassjogreen reopened this Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants