Skip to content

Is the num_headers argument in used? #28

Closed

Description

@spacewander

Since now we fetch HTTP headers as a map, do we need a num_headers argument?

Activity

  1. added this to the v0.3.0 milestone on May 21, 2026
  2. PiotrSikora commented on May 21, 2026

    @PiotrSikora
    Member

    Probably not, because number of headers isn't useful in practice, and providing header map size might be expensive to calculate if not available in the host already.

    However, we could use status_code in on_http_response_headers callbacks.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions