commit | 68085d8cfb7e8d8a18aa99caf5446a91bbed4e3a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jan 18 14:54:04 2010 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jan 18 19:51:33 2010 +0100 |
tree | 4e134ac9e6f723d6448cb47cc5a593f3f41d6284 | |
parent | 116f91e7a58999c24a526ddf199793845513c39c [diff] |
[MINOR] http: add http_remove_header2() to remove a header value. Calling this function after http_find_header2() automatically deletes the current value of the header, and removes the header itself if the value is the only one. The context is automatically adjusted for a next call to http_find_header2() to return the next header. No other change nor test should be made on the transient context though.