Add extraheader, payloadfile attribute to url element; also support custom HTTP
methods.

(This lets flood passably mimic WebDAV requests.)

* flood_round_robin.c
  (url_t): Add method_string, extra_headers fields.
  (round_robin_create_req): Add short-cut to ->extra_headers field; simplify
  request creation based on methods and add in extra headers if present; 
  (parse_xml_url_info): Set method_string on all variants; support
  payloadfile attribute to load the entire payload from a file; include any
  extra headers  - delimit multiple headers with ; for now.
  (round_robin_get_next_url): Fix whitespace.
* flood_profile.h
  (method_e): Denote 'other' methods.
* config.h.in
  (XML_URLLIST_PAYLOAD_FILE, XML_URLLIST_EXTRA_HEADERS): Define.


git-svn-id: https://svn.apache.org/repos/asf/httpd/test/trunk/flood@394795 13f79535-47bb-0310-9956-ffa450edef68
4 files changed