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

Document overwrite behavior of ExtraHeaders #21

Open
jsha opened this issue Jan 13, 2023 · 0 comments
Open

Document overwrite behavior of ExtraHeaders #21

jsha opened this issue Jan 13, 2023 · 0 comments

Comments

@jsha
Copy link
Collaborator

jsha commented Jan 13, 2023

In SignerOptions and EncrypterOptions, there are ExtraHeaders fields that allow user-specified header parameters to be added. It would be good to document what happens when ExtraHeaders contains a header parameter name that is otherwise serialized by go-jose. Does it overwrite, error, or get ignored? And what are the header parameters that are serialized by go-jose by default?

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

No branches or pull requests

1 participant