Ns startcontent

From AOLserver Wiki
Revision as of 08:33, 30 January 2009 by Gustafn (talk | contribs)
Jump to navigation Jump to search

<manpage>ns_startcontent</manpage>

NAME

ns_startcontent - Set connection to streaming state for streaming content via ns_write

SYNOPSIS

ns_startcontent ?-type content_type_and_encoding?

DESCRIPTION

This command is used to set the current connection to streaming state, provides the appropriate encoding and indicates that the content part of the request is following. The content part is typically written via ns_write.

EXAMPLES

ns_startcontent -type "text/html; charset=[ns_config ns/parameters OutputCharset iso-8859-1]"

SEE ALSO

ns_write, ns_config