Skip to content

add tracking of request body reads #64

@techfg

Description

@techfg

Currently, RequestBytes is logged, however it's based solely on ContentLength. This leads to potential inaccuracies if ContentLength header isn't present. Additionally, it doesn't track actual bytes read.

Would like to see logging attributes include the actual bytes read, possibly following an approach similar to Caddy.

Happy to submit a PR if there is an appetite to add this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions