Skip to content

Unable to remove default headers with method remove_header #263

@arturogzz

Description

@arturogzz

When trying to replace the headers, set them empty or to remove the default methods and add new ones, the method remove_header has no impact on (at least) a request message type.

For example client::request<<remove_header("Content-Type") and client::request<<remove_header("Accept") used for removing default headers has no effect in removing the mentioned headers. Adding a header aftwerwards will add it additionally, hence the desired action, replacing the default headers with custom ones might not happen.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions