Skip to content

Log headers in request/response middleware, redact sensitive#1227

Merged
StuartFerguson merged 1 commit intomasterfrom
task/#357_log_request_response_headers
Feb 24, 2026
Merged

Log headers in request/response middleware, redact sensitive#1227
StuartFerguson merged 1 commit intomasterfrom
task/#357_log_request_response_headers

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Enhanced logging in RequestLoggingMiddleware and ResponseLoggingMiddleware to include all HTTP headers in log output. Sensitive headers (Authorization, Cookie, Set-Cookie) are redacted for security. Also removed unnecessary region comments and field declarations for clarity.

closes #357

Enhanced logging in RequestLoggingMiddleware and ResponseLoggingMiddleware to include all HTTP headers in log output. Sensitive headers (Authorization, Cookie, Set-Cookie) are redacted for security. Also removed unnecessary region comments and field declarations for clarity.
@StuartFerguson StuartFerguson merged commit 665fc50 into master Feb 24, 2026
10 checks passed
@github-actions github-actions Bot deleted the task/#357_log_request_response_headers branch April 26, 2026 03:38
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.

Add Headers to Request/Response middleware

1 participant