Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Ong-logID as a http response header #465

Closed
komuw opened this issue Jul 22, 2024 · 1 comment
Closed

add Ong-logID as a http response header #465

komuw opened this issue Jul 22, 2024 · 1 comment

Comments

@komuw
Copy link
Owner

komuw commented Jul 22, 2024

This would be needed by the network error logs(NEL); #393

See comment; #393 (comment)

@komuw
Copy link
Owner Author

komuw commented Jul 22, 2024

This is already done;

ong/middleware/trace.go

Lines 29 to 30 in 32140f7

r.Header.Set(logIDKey, logID)
w.Header().Set(logIDKey, logID)

@komuw komuw closed this as completed Jul 22, 2024
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

No branches or pull requests

1 participant