Squid internals HTTP header handling (Http*.c) Manipulation of HTTP header entries httpHeaderHas(hdr, id) /* Check if the header has an entry of type 'id' */ httpHeaderGet(hdr, id) /* Get value of the header of type 'id' */ /* If the header can have multiple entries, a string list is returned */ /* Since the ids represent known types, the programmer will know whether / the type returned will be a string list or a string */ httpHeaderPut(hdr, id) /* Place a new header value at type 'id'. Multiple values can exist */ httpHeaderDelById(hdr, id) /* Delete a header by id */ httpHeaderDelByName(hdr, string) /* Delete a header by name */ httpHeaderReset(hdr) /* Cleans a header and resets it to its initial state */ retval = httpHeaderParse(hdr, start, end) /* Attempt to parse a header between 'start' and 'end' in memory */ /* Returns 1 if its a valid header */