[ Table Of Contents | Keyword Index ]

ns_adp_mime(n) 4.99 "NaviServer Built-in Commands"

NAME

ns_adp_mime - Get or set the mime type for the current ADP page

TABLE OF CONTENTS

    TABLE OF CONTENTS
    SYNOPSIS
    DESCRIPTION
    COMMANDS
    EXAMPLES
    SEE ALSO
    KEYWORDS

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.

COMMANDS

ns_adp_mime ?mimetype?

EXAMPLES

 
   ns_adp_mime
   ns_adp_mime "text/plain"

SEE ALSO

nsd

KEYWORDS

(duplicate , command) , ns_adp_mimetype