Thus, dynamic allocation of headers is not needed. Special care must be taken when several header-fields with the same id are preset in the header. It is prohibited to ask for a List of values when only one value is permitted, and visa-versa. This restriction prevents a programmer from processing one value of an header-field while ignoring other valid values. Both methods will delete all fields specified.
Iteration is controlled by the pos parameter.
Thus, several concurrent iterations over one hdr are possible. Remember that neither of them is a part of HTTP message header as defined by the HTTP protocol. Adding new ids is simple. Then describe a new header-field attributes in the HeadersAttrs array located in HttpHeader.c . The last attribute specifies field type.