Skip to content

transport/http: ability to log response headers, response size, etc. #460

Closed
@peterbourgon

Description

With transport/http.ServerFinalizerFunc, it's possible to log a lot of information about the incoming request—especially when combined with transport/http.PopulateRequestContext.

Using the same mechanism, we can log the status code of the response. But it would be great to capture a lot more information about the response, at a minimum the response headers and the response body size.

/cc @xla

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions