Skip to content

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

Merged
jsha merged 2 commits into
mainfrom
no-finalize-loc
Sep 8, 2025
Merged

Revert "Add Location header to finalize response (#85)"#509
jsha merged 2 commits into
mainfrom
no-finalize-loc

Conversation

@aarongable

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

@jsha jsha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like no update here was needed after eggsampler/acme#28 was merged, because we run tests based on the latest eggsampler.

@jsha
jsha merged commit 91c9665 into main Sep 8, 2025
14 checks passed
@jsha
jsha deleted the no-finalize-loc branch September 8, 2025 20:44
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