util::http::append_to_payload (private)
util::http::append_to_payload [ -content content ] [ -file file ] \ [ -base64 ] encoding max_size payload spool_file wfd
Defined in packages/acs-tcl/tcl/http-client-procs.tcl
Appends content to a POST payload making sure this doesn't exceed given max size. When this happens, proc creates a spool file and writes there the content.
- Switches:
- -content (optional)
- -file (optional)
- -base64 (optional, boolean)
- Parameters:
- encoding (required)
- max_size (required)
- payload (required)
- spool_file (required)
- wfd (required)
- Returns:
- a list in the format {total_payload spooling_file spooling_file_handle}
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.