No way to examine headers from response
Bug #1398944 reported by
Robert Schroll
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-cpp |
Confirmed
|
High
|
Thomas Voß |
Bug Description
As best I can tell, there is no way to examine the value of a header of a response. From the source, it appears to be possible to find if a specific header exists and set a header's value, but not query its value. In my use case, for example, I need to examine the Content-Type of the response.
To post a comment you must log in.
We usually rely on enumerate(...) to bulk-process all headers in one go. However, happy to add an operator[] overload to query individual values.