Ns conncptofp

From AOLserver Wiki
Revision as of 01:17, 11 April 2008 by Rcobb (talk | contribs) (Wrote a draft of the page based on reading the code. Have not tried to generate examples.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<manpage>ns_conncptofp</manpage>

NAME

ns_conncptofp - write content of request to Tcl channel

SYNOPSIS

ns_conncptofp ?conn? channel

DESCRIPTION

ns_conncptofp is identical to ns_writecontent. 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_writecontent

NOTES

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