Skip to content

add API version string to every response through a header #1186

@rafaelcr

Description

@rafaelcr

for easier debugging when looking at responses (especially when we have canary enabled), we should return the API's version string in every response through a header like Server (currently returns cloudflare) or a custom one like X-Stacks-API-Version:

Server: stacks-blockchain-api v3.0.3 (master:cd0c8aef)

Metadata

Metadata

Assignees

Labels

P4Priority 4 Edge cases, improvements, items to be refactored soon

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions