You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 withUpdateHeader
. What's missing is to delete one or more headers fromheader_
.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
The text was updated successfully, but these errors were encountered: