Difference between revisions of "Ns adp mime"

From AOLserver Wiki
Jump to navigation Jump to search
(imported from WiKit id 865)
 
 
Line 1: Line 1:
Man page: http://aolserver.com/docs/tcl/ns_adp_mime.html
+
Deprecated name for [[ns_adp_mimetype]]
 
 
----
 
 
 
'''NAME'''
 
 
 
: ns_adp_mime - Get or set the mime type for the current ADP page
 
 
 
'''SYNOPSIS'''
 
 
 
: '''ns_adp_mime''' ''?mimetype?''
 
 
 
'''DESCRIPTION'''
 
 
 
: This command will either get or set the mime type returned to the client when the parsing of the page is complete.~~~If called with no arguments, the current mime type will be returned.~~~If called with one argument, the mime type will be set to the given mime type.~~~'''Note:''' This command should not be called outside an ADP page.
 
 
 
'''EXAMPLES'''
 
 
 
    ns_adp_mime
 
    ns_adp_mime "text/plain"
 
 
 
'''SEE ALSO'''
 
 
 
: ns_adp_mimetype (duplicate command)
 
  
 
----
 
----
  
 
[[Category Documentation]] - [[Category Core Tcl API]]
 
[[Category Documentation]] - [[Category Core Tcl API]]

Latest revision as of 22:42, 13 June 2010