Ns writecontent

From AOLserver Wiki
Revision as of 20:24, 7 February 2011 by Josephbui (talk | contribs) (Reverted edits by Guru (Talk) to last revision by Rcobb)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<manpage>ns_writecontent</manpage>

NAME

ns_writecontent - write content of request to Tcl channel

SYNOPSIS

ns_writecontent ?conn? channel

DESCRIPTION

ns_writecontent is identical to ns_conncptofp. It reads the content body of the conn (HTTP request) and copies it to the given Tcl I/O channel.

EXAMPLES

   @@COMMAND_EXAMPLES@@

SEE ALSO

ns_conncptofp

NOTES

  • Throws the error "could not copy content (likely client disconnect)" if sufficient (based on content-length) content can not be read.