Commit Graph

4 Commits (7e5f10927feb34d446e2b28ca394d65f9bbb72d8)

Author SHA1 Message Date
Herman Slatman 7e5f10927f
Decouple request ID middleware from logging middleware 3 months ago
Herman Slatman a58f5956e3
Add reflection of request ID in `X-Request-Id` response header 3 months ago
Herman Slatman 4213a190d5
Use `X-Request-Id` as canonical request identifier (if available)
If `X-Request-Id` is available in an HTTP request made against the
CA server, it'll be used as the identifier for the request. This
slightly changes the existing behavior, which relied on the custom
`X-Smallstep-Id` header, but usage of that header is currently not
very widespread, and `X-Request-Id` is more generally known for
the use case `X-Smallstep-Id` is used for.

`X-Smallstep-Id` is currently still considered, but it'll only be
used if `X-Request-Id` is not set.
3 months ago
max furman c284a2c0ab first commit 6 years ago