libnhttp/nhttp/protocol/http_headerset.hpp
inline bool unset(const http_header::well_known_t& name, bool all = true) {
			int32_t n = 0;

			for (ssize_t i = ssize_t(vec.size()) - 1; i >= 0; --i) {
				if (vec[i] == name) {
					vec.erase(vec.begin() + i); ++n;

					if (!all)
						break;
				}
			}

			return n > 0;
		}
/* unset header by its name. */
unset header by its name.
unset header by its name .
inline bool unset(const http_header::well_known_t& name, bool all = true) {
			int32_t n = 0;
			for (ssize_t i = ssize_t(vec.size()) - 1; i >= 0; --i) {
				if (vec[i] == name) {
					vec.erase(vec.begin() + i); ++n;
					if (!all)
						break;
				}
			}
			return n > 0;
		}
inline bool unset ( const http_header :: well_known_t & name , bool all = true ) { int32_t n = 0 ; for ( ssize_t i = ssize_t ( vec . size ( ) ) - 1 ; i >= 0 ; -- i ) { if ( vec [ i ] == name ) { vec . erase ( vec . begin ( ) + i ) ; ++ n ; if ( ! all ) break ; } } return n > 0 ; }
unset header by its name.
unset header by its name .