forked fromglynos/cpp-netlib
- Notifications
You must be signed in to change notification settings - Fork425
Open

Description
Implement the following namespace-level functions to act as accessor shortcuts to make deailing with messages easier:
template <class Tag>typename basic_response<Tag>::string_type constheader(basic_response<Tag> & message, typename basic_response<Tag>::string_type const & header_name, int offset = 0); // throwstemplate <class Tag>boost::optional<typename basic_response<Tag>::string_type> constheader_nothrow(basic_response<Tag> & message, typename basic_response<Tag>::string_type const & header_name, int offset = 0); // no throw
This should be trivial to implement and should be easy to document as well.