Skip to content

Revert "Add Location header to finalize response (#85)" #509

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

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

Conversation

aarongable
Copy link
Contributor

This reverts commit 9c3d91b, which was merged as a result of #85. That PR based on the idea that the Location header is required to be included with the Finalize response in RFC 8555, but this is not the case: it appears in the example response, but its inclusion there is not mandated by the text.

Although Boulder does provide the Location header in Finalize responses, there exist other ACME implementations which do not. Therefore it is useful for Pebble to omit it, so that clients developed against Pebble do not come to rely on its inclusion.

Fixes #508

@aarongable aarongable requested review from a team and beautifulentropy and removed request for a team July 28, 2025 22:28
@aarongable
Copy link
Contributor Author

Tests are failing because eggsampler/acme assumes the Finalize response has a Location header :D
https://github.com/eggsampler/acme/blob/cee0a72e65be5f65e4aa783e5c96d010c4e51b18/order.go#L162

@aarongable
Copy link
Contributor Author

eggsampler/acme#28 to update eggsampler; if/when that merges I'll update the version of eggsampler used by the pebble tests in this PR.

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.

Consider (randomly) dropping Location header from order finalization response
2 participants