-
Notifications
You must be signed in to change notification settings - Fork 595
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
Make SyntheticHeader public #3349
Comments
Hmm, I'm not sure we want to expose this, since we're (slowly) moving away from synthetic headers and using 'Attributes' instead. Perhaps a compromise might be to remove the |
+1. That would work for me in the interim |
Any reference to this Attribute support? |
Let's close this as attributes seem like the way forward. |
In our project we need to log details related to request and response as part of access log. Such logs should also include the header details. While dumping all request header the logs also include the
timeout-access
header which is a synthetic header used internally by Akka HTTP.Currently there is no easy way to distinguish which header is a user provided one and which one is generated by Akka HTTP. One way would be to make
akka.http.scaladsl.model.headers.SyntheticHeader
trait public. Then we can easily filter out such synthetic header via type check.The text was updated successfully, but these errors were encountered: