-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
Is your feature request related to a problem?
I'd like there to be the possibility to delete one or more headers when using sessions.
Currently, we can overwrite all headers with SetHeader, or update select ones with UpdateHeader. What's missing is to delete one or more headers from header_.
Possible Solution
I'd like to either implement a function bool Session::DeleteHeader(const std::string& headerKey), or a getter for the headers: Header& GetHeaders(), with which the user can delete (and inspect) the existing headers that may have been set with previous requests.
What's your take on this - does it make sense, or is this the wrong approach?
Alternatives
No response
Additional Context
No response
Reactions are currently unavailable