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

Remove body from HttpLike #16

Merged
merged 3 commits into from
Sep 16, 2022
Merged

Remove body from HttpLike #16

merged 3 commits into from
Sep 16, 2022

Conversation

dhensby
Copy link
Owner

@dhensby dhensby commented Sep 16, 2022

There is no need for the body prop as signatures are not concerned with the body of the request.

All data required for signing/verifying http-signatures are based in the request line and headers.

As discussed in other issues, the library should have a clearly defined remit, and that is simply to generate the signature header and to validate signature headers.

Other steps that may be related to signatures but not actually part of the signing process should be handled separately (eg: calculating body digests).

There is no need for the body prop as signatures are not concerned with the body of the request.
All data required for signing/verifying http-signatures are based in the request line and headers.
@dhensby dhensby mentioned this pull request Sep 16, 2022
@dhensby dhensby merged commit c751699 into master Sep 16, 2022
@dhensby dhensby deleted the pulls/rm-body branch September 16, 2022 23:28
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.

None yet

1 participant