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
(boolean) (optional)- Parameters:
- encoding
max_size
payload
spool_file
wfd
- 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.