ReturnHeaders (public, deprecated)

 ReturnHeaders [ args... ]

Defined in packages/acs-tcl/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

We use this when we want to send out just the headers and then do incremental writes with ns_write. This way the user doesn't have to wait for streamed output (useful when doing bulk uploads, installs, etc.). It returns status 200 and all headers including any added to outputheaders. DEPRECATED: does not comply with OpenACS naming convention.

See Also:

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc ReturnHeaders
    return [util_return_headers {*}$args]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/deprecated-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: