head	1.1;
branch	1.1.1;
access;
symbols
	tonic_4:1.1.1.1
	tonic_3:1.1.1.1
	tonic_2:1.1.1.1
	demo:1.1.1.1.0.8
	design_report:1.1.1.1
	dec2:1.1.1.1
	oral_presentation_freeze:1.1.1.1.0.6
	DAVEG_CDP:1.1.1.1.0.4
	template_integ:1.1.1.1.0.2
	v1_1:1.1.1.1
	course_staff:1.1.1;
locks; strict;
comment	@ * @;


1.1
date	95.11.19.17.28.08;	author hartmans;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.11.19.17.28.09;	author hartmans;	state Exp;
branches;
next	;


desc
@@



1.1
log
@Initial revision
@
text
@#ifndef _SIMPLE_RESPONSE_H
#define _SIMPLE_RESPONSE_H

#include "ps5/normal_response.h"

class simple_response : public normal_response {
    // A "simple_response" represents an HTTP/1.0 response that is
    // a fixed page of text, i.e. of type "text/html" or "text/plain".
public:
    simple_response(string text, bool html);
	// create a new "normal_response" that is an HTML response if
	// "html" is true, else it is a plain text response.

    // overridden methods
    void body(ostream &o);
protected:
    string response_text;
};

#endif /* _SIMPLE_RESPONSE_H */
@


1.1.1.1
log
@Import web include files into our tre.

@
text
@@
