- added vmod_add_header()
- use in VCL: curl.add_header("Host: " + req.http.Host);
added vmod_unset_header()
removes all matching headers from the custom request list
VCL use: curl.unset_header("Host");
added test for curl.add_header
added test for curl.unset_header()
unset_header() didn't free the removed list entry
comment .vcc
added manpage from https://github.com/yakaz/libvmod-curl/commit/9ef48eee4929255dcfc906d315e8b7177b4082af
renumbered tests
added add_header/unset_header to manpage
renumbered tests
added manpage from https://github.com/yakaz/libvmod-curl/commit/9ef48eee4929255dcfc906d315e8b7177b4082af
added add_header/unset_header to manpage
- rst syntax fixes
modified unset_header() test: catch incorrect prefix match
modified unset_header() test: catch incorrect prefix match
- rst syntax fixes
modified unset_header() test: check removal of all matching headers
modified unset_header() test: check removal of all matching headers
rst syntax fixes
verbose description for add_header() copied from curl doc (http://curl.haxx.se/libcurl/c/curl_easy_setopt.html)
examples added
rst syntax fixes
verbose description for add_header() copied from curl doc (http://curl.haxx.se/libcurl/c/curl_easy_setopt.html)
examples added