util_WriteWithExtraOutputHeaders

EveAndersson.com : API Browser : util_WriteWithExtraOutputHeaders

util_WriteWithExtraOutputHeaders

util_WriteWithExtraOutputHeaders headers_so_far [ first_part_of_page ]
Defined in packages/acs-core/utilities-procs.tcl

Takes in a string of headers to write to an HTTP connection, terminated by a newline. Checks [ns_conn outputheaders] and adds those headers if appropriate. Adds two newlines at the end and writes out to the connection. May optionally be used to write the first part of the page as well (saves a packet)

Parameters:
headers_so_far
first_part_of_page (optional)
[ show source ]

Show another procedure:

eve@eveandersson.com