#!/bin/ch /* Copyright (c) 2001 by SoftIntegration, Inc. All Rights Reserved */ #include int main() { class CResponse Response; chchar *contentType_def, *contentType_cur; // get default content type contentType_def = Response.getContentType(); // set current content type to "text/plain" Response.setContentType("text/plain"); // get current content type contentType_cur = Response.getContentType(); Response.begin(); printf("Test of Response.setContentType and Response.getContentType\n"); printf("The Default Content Type is : %s \n", contentType_def); printf("The Current Content Type is : %s \n", contentType_cur); Response.end(); }