Skip to content

Remove body argument to header functions #1542

@paulmelnikow

Description

@paulmelnikow

Currently the third argument to header functions receives a buffer containing the response body. I can't think of a reason why this would be helpful.

I could imagine the request body being helpful, though that should be accessible from the request.

I'm inclined to remove this parameter from the function in a breaking change.

See #1541 where I added a test covering the current behavior.

Metadata

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