Difference between revisions of "Ns startcontent"

From AOLserver Wiki
Jump to navigation Jump to search
m
Line 11: Line 11:
 
'''DESCRIPTION'''
 
'''DESCRIPTION'''
  
: This command is used to set the current connection to streaming state and to provide the appropriate encoding
+
: 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'''
 
'''EXAMPLES'''

Revision as of 08:33, 30 January 2009

<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