Skip to content

Conversation

@sunshowers
Copy link
Contributor

Allow substituting a version if the header is missing. We're going to use this policy for the Nexus external API.

Created using spr 1.3.6-beta.1
Copy link
Collaborator

@davepacheco davepacheco left a comment

Choose a reason for hiding this comment

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

Looks good aside from the one comment request. Can you update the CHANGELOG as well?

ClientSpecifiesVersionInHeader { name, max_version, on_missing: None }
}

/// If the header is missing, use the provided version instead.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we update this comment to dissuade people from using this if they control the clients (and maybe explicitly say not for Oxide internal services?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, and bolded.

Created using spr 1.3.6-beta.1
@davepacheco davepacheco merged commit 81ec815 into main Nov 18, 2025
11 checks passed
@davepacheco davepacheco deleted the sunshowers/spr/add-clientspecifiesversioninheaderon_missing branch November 18, 2025 17:58
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.

3 participants