Skip to content

How to get response headers size in bytes #2501

@let4be

Description

@let4be

For statistical purposes I would like to record exact size of headers in an http response(n of bytes), is this possible?

I guess I could estimate this size by running across headers() and summing string lengths, but this seems dirty and slow. Is there a better way?

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